Ruby on Rails -- WEBrick OK, Apache isn't


I’m trying to get a Ruby on Rails application to work under Apache. It
works fine when run under WEBrick (via “ruby script/server”). I copied
the “public” directory (as well as “lib”, “app”, and “config”) to my
preferred Apache directory (see below for details). As told in
instructions on a web page, I tried executing “dispatch.fcgi”. It gets
a “Internal Server Error”. Far below is the output of “ruby --debug

I’m running

ruby 1.8.4-1.fc3
rails 1.0.0
httpd 2.0.53
mod_fastcgi 2.4.2
actionmailer 1.1.5
actionpack 1.11.2
actionwebservice 1.0.0
activerecord 1.13.2
activesupport 1.2.5
mysql 2.7
rake 0.7.0
sources 0.0.1

Exception `MissingSourceFile’ at

  • Missing API definition file in apis/application_api.rb
    Exception `ActionController::RoutingError’ at
  • Recognition failed for “”
    Exception `NoMethodError’ at
  • You have a nil object when you didn’t expect it!
    The error occured while evaluating nil.downcase
    Set XSD::XMLParser::REXMLParser as XML processor.
    Status: 500 Internal Server Error
    Exception `NameError’ at
  • constant Object::ApplicationController not defined