Forum: Ruby Question about Ramaze

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.
64a808c19ac542b14c4021dcb9484a37?d=identicon&s=25 Ruby Student (Guest)
on 2009-04-13 20:18
(Received via mailing list)
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 Student
4feed660d3728526797edeb4f0467384?d=identicon&s=25 Bill Kelly (Guest)
on 2009-04-14 00:27
(Received via mailing list)
From: "Ruby Student" <ruby.student@gmail.com>
> `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&cha...


Regards,

Bill
This topic is locked and can not be replied to.