Rails Error When Accessing New Controller

  • 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”

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/”
recognition_failed' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:512:in recognize!’

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.


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.