Forum: Ruby on Rails Strange error ...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F28618ee1f60e65b44a87f16144c4226?d=identicon&s=25 Greg McClure (Guest)
on 2006-04-08 19:59
(Received via mailing list)
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
D90ef6808433e63203e15a5c2dadb0bb?d=identicon&s=25 Ben Reubenstein (Guest)
on 2006-04-08 20:05
(Received via mailing list)
Ruby 1.8.4?  Remove tabs.  Use spaces instead.  Windows + Ruby 1.8.4 has
issues with tab characters.
F28618ee1f60e65b44a87f16144c4226?d=identicon&s=25 Greg McClure (Guest)
on 2006-04-08 20:57
(Received via mailing list)
Yes! Thank you very much ...

Is this a permanent choke? Or is this a bug that's going to be sorted
out ... ?
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Kevin Olbrich (Guest)
on 2006-04-08 21:15
(Received via mailing list)
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
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails


_Kevin
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-04-08 21:18
(Received via mailing list)
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:
> > >
> > Anyone know what this might be? I installed the Login Engine and the
> >
> >
> >
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
* J *
  ~
59ea1b450935b9d70abfec4186b7a4d5?d=identicon&s=25 Jeff Coleman (progressions)
on 2006-04-08 23:16
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
This topic is locked and can not be replied to.