What does this mean? (eval):1:in `compute_type'': compile error (eval):1: parse error, unexpected tINTEGER Object::0 ^ Anyone know? Any help counts! Thanks in advance, Mohammad(Programmer-22) -- Posted via http://www.ruby-forum.com/.
If you are on windows running Ruby 1.8.4 it is because of a tab in the file. Downgrade to Ruby 1.8.2. Jeff Mohammad wrote:> What does this mean? > (eval):1:in `compute_type'': compile error > (eval):1: parse error, unexpected tINTEGER > Object::0 > ^ > Anyone know? Any help counts! > > Thanks in advance, > Mohammad(Programmer-22) > >
Jeff Berg wrote:> If you are on windows running Ruby 1.8.4 it is because of a tab in the > file. Downgrade to Ruby 1.8.2. > > JeffI''m using Instant Rails how do I do that? -- Posted via http://www.ruby-forum.com/.
Download the setup file from rubyforge (http://rubyforge.org/frs/download.php/4174/ruby182-15.exe). Run it, and choose InstantRails\ruby as the path. I think that should work. Try it and see. -N On 17/05/06, Mohammad <geek@geeky.org> wrote:> Jeff Berg wrote: > > If you are on windows running Ruby 1.8.4 it is because of a tab in the > > file. Downgrade to Ruby 1.8.2. > > > > Jeff > > I''m using Instant Rails how do I do that? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
WOAH!!! hang one there a mo If this hasn''t been tried it could break Instant Rails Wouldn''t it be better to remove the tab character from the source?> -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org]On Behalf Of > njmacinnes@gmail.com > Sent: Wednesday, 17 May 2006 12:17 PM > To: rails@lists.rubyonrails.org > Subject: Re: [Rails] Re: Weird error > > > Download the setup file from rubyforge > (http://rubyforge.org/frs/download.php/4174/ruby182-15.exe). Run it, > and choose InstantRails\ruby as the path. I think that should work. > Try it and see. > -N > > On 17/05/06, Mohammad <geek@geeky.org> wrote: > > Jeff Berg wrote: > > > If you are on windows running Ruby 1.8.4 it is because of > a tab in the > > > file. Downgrade to Ruby 1.8.2. > > > > > > Jeff > > > > I''m using Instant Rails how do I do that? > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Ross Dawson wrote:> WOAH!!! > > hang one there a mo > > If this hasn''t been tried it could break Instant Rails > > Wouldn''t it be better to remove the tab character from the source?I did it it didn''t work but, I copyed before hand so I just replaced withed copyed. It didn''t work and I can''t find the "tab" space, I''m wondering if the guy knows what he''s talking about. Too bad we don''t have accounts so we can see the "relabilety" of the user. Wouldn''t that be cool? -- Posted via http://www.ruby-forum.com/.
Hey Mohomad, My problem might not have been the same problem you were having (even though we got the same error), but I have had it because of the 1.8.4 problem. It is hard to debug something when you can''t see the source. Maybe you should post some of the code having the problems, then we would be able to help more. Jeff Mohammad wrote:> Ross Dawson wrote: > >> WOAH!!! >> >> hang one there a mo >> >> If this hasn''t been tried it could break Instant Rails >> >> Wouldn''t it be better to remove the tab character from the source? >> > > I did it it didn''t work but, I copyed before hand so I just replaced > withed copyed. It didn''t work and I can''t find the "tab" space, I''m > wondering if the guy knows what he''s talking about. Too bad we don''t > have accounts so we can see the "relabilety" of the user. Wouldn''t that > be cool? > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060517/0b07fda5/attachment.html
If you do this, you need to also force Instant Rails to update all of the paths. One way to do this is to rename the Instant Rails directory and then run Instant Rails. Then rename it back to the original (otherwise the start menu shortcuts from the one-click installation will point to the wrong place). Curt On 5/16/06, njmacinnes@gmail.com <njmacinnes@gmail.com> wrote:> > Download the setup file from rubyforge > (http://rubyforge.org/frs/download.php/4174/ruby182-15.exe). Run it, > and choose InstantRails\ruby as the path. I think that should work. > Try it and see. > -N > > On 17/05/06, Mohammad <geek@geeky.org> wrote: > > Jeff Berg wrote: > > > If you are on windows running Ruby 1.8.4 it is because of a tab in the > > > file. Downgrade to Ruby 1.8.2. > > > > > > Jeff > > > > I''m using Instant Rails how do I do that? > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060517/2ec00e20/attachment.html
I am trying to use RJS to insert a paragraph within a div. I just moved my development from Mac to Win XP (I don''t know if that has anything to do with it). It was working on my Mac. The link (that is generated by Rails) is right, but when it is clicked nothing happens. When I look at the Webrick console log I see: "... "POST /worm/in_your_classroom/add_iyc_rlink HTTP/1.1" 500 13309 - -> /worm/in_your_classroom/add_iyc_rlink" I don''t know if it has something to do with me using modules in my controller but that is the only thing I changed when I started development over. Thanks for the help... Seth -- Posted via http://www.ruby-forum.com/.
Seth Buntin wrote:> I am trying to use RJS to insert a paragraph within a div. I just moved > my development from Mac to Win XP (I don''t know if that has anything to > do with it). It was working on my Mac. The link (that is generated by > Rails) is right, but when it is clicked nothing happens. When I look at > the Webrick console log I see: > > "... "POST /worm/in_your_classroom/add_iyc_rlink HTTP/1.1" 500 13309 > - -> /worm/in_your_classroom/add_iyc_rlink" > > I don''t know if it has something to do with me using modules in my > controller but that is the only thing I changed when I started > development over. > > Thanks for the help... > > SethThat output is normal. It''s just documenting the request and response. Open up log/development.log to see the real log file. Also, install the Firebug extension for firefox and see exactly whats in your AJAX requests and responses. Its gonna help you out big time. -- Posted via http://www.ruby-forum.com/.
Alex Wayne wrote:> Seth Buntin wrote: >> I am trying to use RJS to insert a paragraph within a div. I just moved >> my development from Mac to Win XP (I don''t know if that has anything to >> do with it). It was working on my Mac. The link (that is generated by >> Rails) is right, but when it is clicked nothing happens. When I look at >> the Webrick console log I see: >> >> "... "POST /worm/in_your_classroom/add_iyc_rlink HTTP/1.1" 500 13309 >> - -> /worm/in_your_classroom/add_iyc_rlink" >> >> I don''t know if it has something to do with me using modules in my >> controller but that is the only thing I changed when I started >> development over. >> >> Thanks for the help... >> >> Seth > > That output is normal. It''s just documenting the request and response. > Open up log/development.log to see the real log file. > > Also, install the Firebug extension for firefox and see exactly whats in > your AJAX requests and responses. Its gonna help you out big time.Thanks Alex. I assumed (as always) that the 500 was meaning "Internal Server Error" and didn''t even look in the log file. Man do I feel stupid. I just forgot to include a helper from the application I converted. It works... Thanks again. Seth -- Posted via http://www.ruby-forum.com/.