Hello Team,
Today I installed Ramaze, which I heard of this morning.
I tried running the “Hello” example and ran into some issues.
I open a Windows CMD window and run the Ruby sample code.
Once the env is initialized I type the http://localhost:7000/.
When I do this on IE, I get:
The website cannot display the page HTTP 500
Most likely causes:
- The website is under maintenance.
- The website has a programming error.
When I try chrome, I get:
Internal Server Error undefined method `to_a’ for #String:0x176fa18
WEBrick/1.3.1 (Ruby/1.9.1/2009-01-30) at localhost:7000
In the Ramze console, I get:
[2009-04-13 14:12:24] â†[33mDEBUGâ†[0m Rack::Handler::WEBrick is invoked.
[2009-04-13 14:12:25] â†[32mINFO â†[0m Dynamic request from 127.0.0.1:
http://localhost:7000/
[2009-04-13 14:12:25] â†[31mERRORâ†[0m #<NoMethodError: undefined method
`to_a’ for #String:0x176fa18>
[2009-04-13 14:12:25] â†[31mERRORâ†[0m
F:/ruby/lib/ruby/gems/1.9.1/gems/rack-0.9.1/lib/rack/handler/webrick.rb:45:in
`block in service’
[2009-04-13 14:12:25] â†[31mERRORâ†[0m
F:/ruby/lib/ruby/gems/1.9.1/gems/rack-0.9.1/lib/rack/handler/webrick.rb:43:in
`each’
[2009-04-13 14:12:25] â†[31mERRORâ†[0m
F:/ruby/lib/ruby/gems/1.9.1/gems/rack-0.9.1/lib/rack/handler/webrick.rb:43:in
`service’
[2009-04-13 14:12:25] â†[31mERRORâ†[0m
F:/ruby/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service’
[2009-04-13 14:12:25] â†[31mERRORâ†[0m
F:/ruby/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run’
[2009-04-13 14:12:25] â†[31mERRORâ†[0m
F:/ruby/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread’
[2009-04-13 14:12:25] â†[33mDEBUGâ†[0m localhost - -
[13/Apr/2009:14:12:24
Eastern Daylight Time] “GET / HTTP/1.1” 500 333
[2009-04-13 14:12:25] â†[33mDEBUGâ†[0m - → /
[2009-04-13 14:12:25] â†[33mDEBUGâ†[0m close: 127.0.0.1:3170
My questions:
Is Ramaze an application server like Rails or WebSphere?
What’s my problem here?
Thank you
Ruby S.