Forum: Ruby on Rails hello world help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mark H. (Guest)
on 2007-03-29 00:43
Hello all

I'm doing the hello word example out of this book called Agile Web
Development with Rails but I can't get a result from the browser.

I've only had this working on windows upto now and I really would
like to get rails working on linux.

I'm just getting started in Ruby on Rails and if anybody can help
that'll be grand.


Browser output:

Not Found
`/say/hello' not found.
WEBrick/1.3.1 (Ruby/1.8.4/2005-12-24) at

WEBrick server output:

-sh-3.1$ ruby script/server
=> Booting WEBrick...
=> Rails application started on
=> Ctrl-C to shutdown server; call with --help for options
[2007-03-28 18:50:36] INFO  WEBrick 1.3.1
[2007-03-28 18:50:36] INFO  ruby 1.8.4 (2005-12-24) [i386-linux]
[2007-03-28 18:50:36] INFO  WEBrick::HTTPServer#start: pid=20119
port=3000 - - [28/Mar/2007:18:51:43 BST] "GET / HTTP/1.1" 200 7552
- -> / - - [28/Mar/2007:18:51:45 BST] "GET
/javascripts/prototype.js HTTP/1
.1" 200 71260 -> /javascripts/prototype.js - - [28/Mar/2007:18:51:45 BST] "GET /javascripts/effects.js
" 200 38200 -> /javascripts/effects.js - - [28/Mar/2007:18:51:46 BST] "GET /images/rails.png
HTTP/1.1" 200
1787 -> /images/rails.png - - [28/Mar/2007:18:51:46 BST] "GET /favicon.ico HTTP/1.1"
200 0 -> /favicon.ico
#<ArgumentError: Anonymous modules have no name to be referenced by>
s.rb:404:in `to_constant_name'",
2/lib/active_support/dependencies.rb:214:in `qualified_name_for'",
n `reset_after_dispatch'",
er.rb:51:in `dispatch'",
rver.rb:113:in `handle_dispatch'",
webrick_server.rb:79:in `service'",
:in `service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'",
/ruby/1.8/webrick/server.rb:173:in `start_thread'",
erver.rb:162:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:95:in `sta
rt'", "/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'",
brick/server.rb:23:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:82:in `star
59", "/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'", "
rb:495:in `require'",
e_support/dependencies.rb:342:in `new_constants_in'",
`require'", "/u
/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'",
[2007-03-28 19:00:30] ERROR `/say/hello' not found. - - [28/Mar/2007:19:00:30 BST] "GET /say/hello HTTP/1.1" 404
- -> /say/hello - - [28/Mar/2007:19:00:33 BST] "GET /favicon.ico HTTP/1.1"
200 0 -> /favicon.ico
Mark H. (Guest)
on 2007-03-29 01:45

su <enter password> yum install irb

fixed the problem. I can go to bed happy now.

This topic is locked and can not be replied to.