Just in case anyone else runs into this problem, I''ll post the fix here
for posterity. It is probably specific to a Fedora Core 3 installation
of Ruby using the ruby RPMs, or any other distribution that divides up
ruby in this particular way.
I had installed all of the "ruby-*" packages, but I was missing
"irb"
and "rdoc" packages ("yum list ruby*" didn''t turn
these up, so I had no
idea I was missing any ruby packages). A little digging revealed that
irb was necessary for the database stuff that Rails requires, and
installing rdoc will probably fix the rdoc related errors I got when
installing rails.
Now it''s off to the fun stuff...I never thought the words "Unknown
action No action responded to index" could be so exciting.
Joe Cooper wrote:> Hi all,
>
> I feel a little foolish, but I''m utterly new to ruby and to RoR,
and I''m
> already lost ten minutes in. I''m working my way through the
"Getting
> Started With Rails" tutorial (I also tried the OnLAMP article and hit
> the same problem in both cases at the same place). I make it to the
> point where I fire up WEBrick and I hit http://localhost:3000/todo with
> my browser, and I get a 404:
>
> Not Found
> `/todo'' not found.
> WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at localhost:3000
>
> The index page ("Congratulations, you''ve put Ruby on
Rails!") works, so
> I''m guessing I''m not far off...
>
> The error in the console is:
>
> [joe@localhost todo]$ ruby script/server
> => Rails application started on http://0.0.0.0:3000
> [2005-03-25 21:56:23] INFO WEBrick 1.3.1
> [2005-03-25 21:56:23] INFO ruby 1.8.2 (2004-12-25) [i386-linux]
> [2005-03-25 21:56:23] INFO WEBrick::HTTPServer#start: pid=2220 port=3000
> #<NameError: uninitialized constant Breakpoint>
>
["/usr/lib/ruby/gems/1.8/gems/activesupport-1.0.2/lib/active_support/dependencies.rb:183:in
> `const_missing''",
> "/usr/lib/ruby/gems/1.8/gems/rails-0.11.0/lib/dispatcher.rb:54:in
> `reset_application''",
> "/usr/lib/ruby/gems/1.8/gems/rails-0.11.0/lib/dispatcher.rb:36:in
> `dispatch''",
"/home/joe/rails/todo/public/dispatch.rb:10",
>
"/usr/lib/ruby/gems/1.8/gems/activesupport-1.0.2/lib/active_support/dependencies.rb:189:in
> `load''",
>
"/usr/lib/ruby/gems/1.8/gems/activesupport-1.0.2/lib/active_support/dependencies.rb:189:in
> `load''",
> "/usr/lib/ruby/gems/1.8/gems/rails-0.11.0/lib/webrick_server.rb:84:in
> `handle_dispatch''",
> "/usr/lib/ruby/gems/1.8/gems/rails-0.11.0/lib/webrick_server.rb:35:in
> `do_GET''",
"/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
> `__send__''",
"/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
> `service''",
"/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''",
> "/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''",
> "/usr/lib/ruby/1.8/webrick/server.rb:155:in
`start_thread''",
> "/usr/lib/ruby/1.8/webrick/server.rb:144:in `start''",
> "/usr/lib/ruby/1.8/webrick/server.rb:144:in
`start_thread''",
> "/usr/lib/ruby/1.8/webrick/server.rb:94:in `start''",
> "/usr/lib/ruby/1.8/webrick/server.rb:89:in `each''",
> "/usr/lib/ruby/1.8/webrick/server.rb:89:in `start''",
> "/usr/lib/ruby/1.8/webrick/server.rb:79:in `start''",
> "/usr/lib/ruby/1.8/webrick/server.rb:79:in `start''",
> "/usr/lib/ruby/gems/1.8/gems/rails-0.11.0/lib/webrick_server.rb:21:in
> `dispatch''", "script/server:48"]
> [2005-03-25 21:57:15] ERROR `/todo'' not found.
> 127.0.0.1 - - [25/Mar/2005:21:57:15 CST] "GET /todo HTTP/1.1" 404
274
> - -> /todo
>
> Anyone have a clue they can lend me?
>
> Thanks!
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails