Strange error


#1

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

#2

Ruby 1.8.4? Remove tabs. Use spaces instead. Windows + Ruby 1.8.4 has
issues with tab characters.


#3

Yes! Thank you very much …

Is this a permanent choke? Or is this a bug that’s going to be sorted
out … ?


#4

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:

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
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

_Kevin


#5

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

I had the same error and downgraded to Ruby 1.8.2 which fixed it.

Jeff


#6

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 removed_email_address@domain.invalid wrote:

Anyone know what this might be? I installed the Login Engine and the


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

  • J *
    ~