Cannot Run Ruby on Rails on windows Vista or 7

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.

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 on http://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

On Jun 29, 10:26 am, Randika R. [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

Hi fred,
That was so quick. Thanks you. unfortunately I figured it out (Not the
Solution but the error) and just deleted the original mail post.
And yes you are so correct something is wrong with my routes.rb file.

On Jun 29, 7:27 pm, Frederick C. [email protected]