# Strange error

**URL:** <https://www.ruby-forum.com/t/strange-error/93757>\
**Category:** Rails\
**Created:** [April 8, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/strange-error/93757 "2006-04-08T19:59:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg\_McClure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Greg\_McClure](https://www.ruby-forum.com/u/Greg_McClure)\
**Post date:** [April 8, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/strange-error/93757/1 "2006-04-08T19:59:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Greg\_McClure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Greg\_McClure](https://www.ruby-forum.com/u/Greg_McClure)\
**Post date:** [April 8, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/strange-error/93757/2 "2006-04-08T20:05:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Greg\_McClure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Greg\_McClure](https://www.ruby-forum.com/u/Greg_McClure)\
**Post date:** [April 8, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/strange-error/93757/3 "2006-04-08T20:57:09Z")

</div>

Yes! Thank you very much …

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

---

<div class="post-metadata">

**Author:** ![Greg\_McClure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Greg\_McClure](https://www.ruby-forum.com/u/Greg_McClure)\
**Post date:** [April 8, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/strange-error/93757/4 "2006-04-08T21:15:37Z")

</div>

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](http://lists.rubyonrails.org/mailman/listinfo/rails)

\_Kevin

---

<div class="post-metadata">

**Author:** ![Greg\_McClure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Greg\_McClure](https://www.ruby-forum.com/u/Greg_McClure)\
**Post date:** [April 8, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/strange-error/93757/5 "2006-04-08T23:16:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Greg\_McClure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Greg\_McClure](https://www.ruby-forum.com/u/Greg_McClure)\
**Post date:** [April 8, 2006, 9:18pm UTC](https://www.ruby-forum.com/t/strange-error/93757/6 "2006-04-08T21:18:44Z")

</div>

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](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](mailto: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](http://lists.rubyonrails.org/mailman/listinfo/rails)

–

- J \*  
~
