Forum: Ruby on Rails Rails Error When Accessing New Controller

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.
A25b1aa1217a274bc31cdcae67dfba22?d=identicon&s=25 SolidGroove (Guest)
on 2007-01-19 16:30
(Received via mailing list)
* I have configured an Apache1.3 box with Ruby on Rails.  As far as I
can tell, everything is installed properly.. and I thought (up until
now) that everything was configured properly.

* I can go to http://serveraddress/ and see the "Welcome aboard
You're riding the Rails!" screen with logo and links and getting
started info.

* I created a controller and saved it:


class MytestController < ApplicationController
        def index
                render_text "Hello World"

* I go to http://serveraddress/Mytest/ and I get this not-so-helpful
generic error message screen:

Application error

Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html

* I found some data in log/development.log:

Recognition failed for "/Mytest/"

Can anyone help me troubleshoot/fix this problem?  It seems like I am
close to being able to learn/use Ruby and Ruby on Rails.  I'm not sure
what to ask but hope the information I have provided is enough for us
to get started.  Thanks in advance for any help.

A25b1aa1217a274bc31cdcae67dfba22?d=identicon&s=25 Vince Neil (Guest)
on 2007-01-19 16:31
(Received via mailing list)
Just FYI.  I found my problem.  I had installed mod fastcgi but not the
regular base fcgi.. not sure if gem install fcgi was ran or not. . . ran
again as well just to be sure.  Now I am getting a routing error, which
expected now since I deleted the controller file I was calling before.
this helps a noob in the future.
This topic is locked and can not be replied to.