Forum: Ruby on Rails Stupid Newbie Question (why doesn't it work?)

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.
B4cf6c117f633f033edc7f7552560384?d=identicon&s=25 RobG (Guest)
on 2007-02-24 08:20
(Received via mailing list)
This is a re-post because it seems my last attempt was interpreted as
reply to another thread.  My apologies!!


Hey guys...

I just subscribed today and have read through the first couple dozen
posts.  I'm VERY excited to jump into Rails development... but until I
have a working development environment, it won't happen.

I think I've gotten it installed and running on my Linux Fedora Core 6
machine, and I can go to localhost:3000 with Mongrel running and get the
"welcome" page.  But when I go to anywhere else, such as
localhost:3000/category, to see the tutorial work I've done by reading
the article at, I get this in the browser:

Routing Error
no route found to match '/category' with {:method=>"get}

In the development log, I see:



      /usr/bin/mongrel_rails:16:in `load'

(404 Page Not Found)


I get the first set of errors often, but am not sure if they're serious.
   The Rendering error makes me wonder if Rails doesn't know what I'm
using for the web root.  What does Rails think is the web root by
default?  I've been using /var/www/rails but have never set anything to
that value.

Thanks for any help!!

91308e9bc88cb069fd1bcf88e910d042?d=identicon&s=25 Nick Snels (nicksnels)
on 2007-02-24 09:21
Hi Rob,

do you have a category controller with an index method in it, because
Rails is trying to access this.

Compare and review Rails hosting
This topic is locked and can not be replied to.