Hi folks, There is a strange problem here, I''ve installed the latest version of One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and after that I''ve installed Rails 1.0. No problem in setup process, but now, when I try run my rails application, there are many strange things happening. In one my application no CSS apply, looks like there is no CSS file, and worst in another application, I get the following error from the layout rhtml file. parse error, unexpected $, expecting kEND What''s changed in this version? Or Do I forget to install a gem or?? Thanks in advance - H -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060211/86729f14/attachment.html
Human Dunnil
2006-Feb-12 00:34 UTC
[Rubyinstaller-users] Upgrading to Ruby 1.8.4 and strange problems!
Hi folks, There is a strange problem here, I''ve installed the latest version of One-Click Ruby installer [1.8.4-16 preview3], everything went fine, and after that I''ve installed Rails 1.0. No problem in setup process, but now, when I try run my rails application, there are many strange things happening. In one my application no CSS apply, looks like there is no CSS file, and worst in another application, I get the following error from the layout rhtml file. parse error, unexpected $, expecting kEND What''s changed in this version? Or Do I forget to install a gem or?? Thanks in advance - H -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyinstaller-users/attachments/20060212/56767474/attachment.htm
Human Dunnil <h.dunnil@...> writes:> > Hi folks,There is a strange problem here, I''ve installed the latest version ofOne-Click Ruby installer [1.8.4-16 preview3], everything went fine, and after that I''ve installed Rails 1.0.No problem in setup process, but now, when I try run my rails application, there are many strange things happening.> In one my application no CSS apply, looks like there is no CSS file, and worstin another application, I get the following error from the layout rhtml file.parse error, unexpected $, expecting kEND> What''s changed in this version? Or Do I forget to install a gem or??Thanks inadvance- H I also installed the One-Click Ruby installer [1.8.4-16 preview3] followed by Rails 1.0, and had the exact same problem that you''re having: a nasty "unexpected $, expecting kEND" error that just woulnd''t go away no matter what I did to my rails app. Just a few minutes ago, I installed the One-Click Ruby installer [1.8.2-15 Stable Release] and to much rejoicing on my part the problem went magically away. -eliazar
Scott Claerhout
2006-Feb-21 22:49 UTC
[Rails] Re: Upgrading to Ruby 1.8.4 and strange problems!
I was having the same problem. Reverted from windows one-click installer ''1.8.4-16 preview3'' to ''1.8.2-15 Stable Release'' and everything works fine. Thanks for posting your fix to this problem, was a great help. -Scott -- Posted via http://www.ruby-forum.com/.
Curt Hibbs
2006-Feb-22 14:29 UTC
[Rails] Re: Upgrading to Ruby 1.8.4 and strange problems!
Can either you or eliazar send me Ruby code which has this problem. I would like to figure what is causing this and fix it (if its something I have the power to fix). Curt On 2/21/06, Scott Claerhout <scottc@uen.org> wrote:> I was having the same problem. Reverted from windows one-click > installer ''1.8.4-16 preview3'' to ''1.8.2-15 Stable Release'' and > everything works fine. Thanks for posting your fix to this problem, was > a great help. > > -Scott > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
James Adam
2006-Feb-22 22:14 UTC
[Rails] Re: Upgrading to Ruby 1.8.4 and strange problems!
My impression of 1.8.4 is that it''s MUCH more strict about the use (i.e. lack of) parenthesis in method calls. You might want to try wrapping any method parameters in parenthesis at the offending line, if you can spot any... - james On 2/22/06, Curt Hibbs <ml.chibbs@gmail.com> wrote:> Can either you or eliazar send me Ruby code which has this problem. I > would like to figure what is causing this and fix it (if its something > I have the power to fix). > > Curt > > On 2/21/06, Scott Claerhout <scottc@uen.org> wrote: > > I was having the same problem. Reverted from windows one-click > > installer ''1.8.4-16 preview3'' to ''1.8.2-15 Stable Release'' and > > everything works fine. Thanks for posting your fix to this problem, was > > a great help. > > > > -Scott > > > > -- > > 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 >-- * J * ~
Dillone Wang
2006-Feb-25 16:35 UTC
[Rails] Re: Re: Upgrading to Ruby 1.8.4 and strange problems!
I met exactly the same problem today. It should be caused by one click 1.8.4 preview 3. I changed back to one click 1.8.2-15 stable, everything turns out to be wonderful, not strange errors at all. So, I think there still some work to do with one click 1.8.4, we''d better do not use preview 3. Cheers -- Posted via http://www.ruby-forum.com/.
Sorenson
2006-Feb-25 22:05 UTC
[Rails] Re: Re: Upgrading to Ruby 1.8.4 and strange problems!
I have been having the exact same problem since upgrading to InstantRails 1.0 on my windows laptop, which includes ruby 1.8.4. It''s a very frustrating error! The parser complains of a line in my standard layout file. However, the layout works fine for certain views but produces the error for others. I can make the error go away simply by changing Class1 to Class2 or Class3 in the view rhtml code, but Class4 in the view will cause the same error. <% for x in Class1.find(:all) %> <%= x.name %><br> <% end %> Again, the error is reported to be in the layout, even though the exact same layout works fine in most views. I''m going to try going back to earlier ruby 1.8.2 while keeping the same rails. -- Posted via http://www.ruby-forum.com/.
Sorenson
2006-Feb-26 02:36 UTC
[Rails] Re: Re: Upgrading to Ruby 1.8.4 and strange problems!
Using ruby 1.8.2 from the 12/24/2005 Instant rails release seems to fix the problem in InstantRails 1.0 -- Posted via http://www.ruby-forum.com/.
Sorenson wrote:> Using ruby 1.8.2 from the 12/24/2005 Instant rails release seems to fix > the problem in InstantRails 1.0It was saying "unexpected $, expecting kEND" before but when i download the InstantRails 1.0 as you said and run the script it says only "syntax error" whereas there is no such error i found on the script. What may be the cause of error? Please help. rajug -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---