I''m getting a very strange error in a very vanilla Rails app setup: compile error ./script/../config/../app/views/home/index.rhtml:1: parse error, unexpected $, expecting kEND _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" ... ? Anyone know what this might be? I installed the Login Engine and the error started. I''m using a Windows machine and I''d like to delete existing session files, but I''m not sure where they''re stored ... Anyone can tell me? Any help would be appreciated, - Greg
Ruby 1.8.4? Remove tabs. Use spaces instead. Windows + Ruby 1.8.4 has issues with tab characters. On 4/8/06, Greg McClure <gmcclure@gmail.com> wrote:> > I''m getting a very strange error in a very vanilla Rails app setup: > > compile error > ./script/../config/../app/views/home/index.rhtml:1: parse error, > unexpected $, expecting kEND > _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" > > ... ? > > Anyone know what this might be? I installed the Login Engine and the > error started. I''m using a Windows machine and I''d like to delete > existing session files, but I''m not sure where they''re stored ... > Anyone can tell me? > > Any help would be appreciated, > - Greg > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060408/cc28c824/attachment.html
Yes! Thank you very much ... Is this a permanent choke? Or is this a bug that''s going to be sorted out ... ? On 4/8/06, Ben Reubenstein <benr@x-cr.com> wrote:> Ruby 1.8.4? Remove tabs. Use spaces instead. Windows + Ruby 1.8.4 has > issues with tab characters. > > > On 4/8/06, Greg McClure < gmcclure@gmail.com> wrote: > > > I''m getting a very strange error in a very vanilla Rails app setup: > > compile error > ./script/../config/../app/views/home/index.rhtml:1: parse > error, > unexpected $, expecting kEND > _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" > > ... ? > > Anyone know what this might be? I installed the Login Engine and the > error started. I''m using a Windows machine and I''d like to delete > existing session files, but I''m not sure where they''re stored ... > Anyone can tell me? > > Any help would be appreciated, > - Greg > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -- > Ben Reubenstein > http://www.benr75.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
Usually this happens when you either don''t properly close a set of quotes, brackets, or a block. There is probably something amiss in your view template. On Saturday, April 08, 2006, at 10:58 AM, Greg McClure wrote:>I''m getting a very strange error in a very vanilla Rails app setup: > >compile error >./script/../config/../app/views/home/index.rhtml:1: parse error, >unexpected $, expecting kEND >_erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" > >... ? > >Anyone know what this might be? I installed the Login Engine and the >error started. I''m using a Windows machine and I''d like to delete >existing session files, but I''m not sure where they''re stored ... >Anyone can tell me? > >Any help would be appreciated, >- Greg >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/rails_Kevin -- Posted with http://DevLists.com. Sign up and save your mailbox.
If you can isolate it to a tab character somewhere in the login engine, file a bug on the rails engines collaboa site (http://dev.rails-engines.org, preferrably being as specific as you can as to where the offending tab is) and it will get sorted. - james On 4/8/06, Greg McClure <gmcclure@gmail.com> wrote:> Yes! Thank you very much ... > > Is this a permanent choke? Or is this a bug that''s going to be sorted out ... ? > > On 4/8/06, Ben Reubenstein <benr@x-cr.com> wrote: > > Ruby 1.8.4? Remove tabs. Use spaces instead. Windows + Ruby 1.8.4 has > > issues with tab characters. > > > > > > On 4/8/06, Greg McClure < gmcclure@gmail.com> wrote: > > > > > I''m getting a very strange error in a very vanilla Rails app setup: > > > > compile error > > ./script/../config/../app/views/home/index.rhtml:1: parse > > error, > > unexpected $, expecting kEND > > _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" > > > > ... ? > > > > Anyone know what this might be? I installed the Login Engine and the > > error started. I''m using a Windows machine and I''d like to delete > > existing session files, but I''m not sure where they''re stored ... > > Anyone can tell me? > > > > Any help would be appreciated, > > - Greg > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > -- > > Ben Reubenstein > > http://www.benr75.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 * ~
Greg McClure wrote:> I''m getting a very strange error in a very vanilla Rails app setup: > > compile error > ./script/../config/../app/views/home/index.rhtml:1: parse error, > unexpected $, expecting kEND > _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" > > ... ? > > Anyone know what this might be? I installed the Login Engine and the > error started. I''m using a Windows machine and I''d like to delete > existing session files, but I''m not sure where they''re stored ... > Anyone can tell me? > > Any help would be appreciated, > - GregI had the same error and downgraded to Ruby 1.8.2 which fixed it. Jeff -- Posted via http://www.ruby-forum.com/.