On Jun 29, 10:26 am, Randika Rathugama <[email protected]>
wrote:
> Hi There,
> I have installed ruby on rails on a windows 7 box as mentioned on the
> official ror manual and it works perfectly for some times. but when I
> refresh web browser page few times I got this error and now nothing is
> working on my pc.
>
Looks like a syntax error in your config/routes.rb file (probably a
missing "end")

Fred

> here is the error I get when i try to start the server now. does
> anyone has experienced this before?
>
> C:\Users\Randika\emktplcusers>ruby script\server
> => Booting WEBrick
> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000
> d:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
> dependencies.rb:145:
> in `load_without_new_constant_marking': C:/Users/Randika/emktplcusers/
> config/routes.rb:48:
>  syntax error, unexpected $end, expecting kEND (SyntaxError)
>         from d:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/depende
> ncies.rb:145:in `load'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/depende
> ncies.rb:521:in `new_constants_in'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/depende
> ncies.rb:145:in `load'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
> action_controller/routing
> /route_set.rb:286:in `load_routes!'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
> action_controller/routing
> /route_set.rb:286:in `each'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
> action_controller/routing
> /route_set.rb:286:in `load_routes!'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
> action_controller/routing
> /route_set.rb:266:in `reload!'
>         from d:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/
> initializer.rb:515:in `initial
> ize_routing'
>          ... 9 levels...
>         from d:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/
> server.rb:84
>         from d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original
> _require'
>         from d:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from script/server:3
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to