Question about Ramaze


#1

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:inblock 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:inservice’
[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:inrun’
[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.


#2

From: “Ruby S.” removed_email_address@domain.invalid

`to_a’ for #String:0x176fa18>

[…]

Is Ramaze an application server like Rails or WebSphere?

What’s my problem here?

As stated on the home page ( http://ramaze.net/ ) Ramaze is a web
framework.

As to the error you’re getting, maybe someone on the Ramaze IRC
channel can help:

http://www.mibbit.com/?server=irc.freenode.net&channel=%23ramaze

Regards,

Bill