Anonymous wrote:
I had the exact same side effect when the fcgi gem wasn’t installed…
so I’d be suspcicious about that gem… maybe it’s not installed
correctly?
I have the exact same problem:
root public# ./dispatch.fcgi
./dispatch.fcgi:19: uninitialized constant RailsFCGIHandler (NameError)
root public#
And I do have fcgi installed:
root public# gem list
*** LOCAL GEMS ***
actionmailer (1.3.3)
Service layer for easy email delivery and testing.
actionpack (1.13.3)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.2.3)
Web service support for Action Pack.
activerecord (1.15.3)
Implements the ActiveRecord pattern for ORM.
activesupport (1.4.2)
Support and utility classes used by the Rails framework.
cgi_multipart_eof_fix (2.3)
Fix an exploitable bug in CGI multipart parsing.
fastthread (1.0)
Optimized replacement for thread.rb primitives
fcgi (0.8.7)
FastCGI library for Ruby.
fcgiwrap (0.1.5)
A trick to wrap CGI in FastCGI easily
flvtool2 (1.0.6)
Flash video (FLV) manipulation tool
gem_plugin (0.2.2)
A plugin system based only on rubygems that uses dependencies only
highline (1.4.0)
HighLine is a high-level command-line IO library.
needle (1.3.0)
Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to
provide a rich and flexible approach to injecting dependencies.
rails (1.2.3)
Web-application framework with template engine, control-flow layer,
and ORM.
rake (0.7.3)
Ruby based make-like utility.
rubyforge (0.4.4)
A script which automates a limited set of rubyforge operations.
sources (0.0.1)
This package provides download sources for remote gem installation
root public#
So this isn’t a web service problem, it’s a ruby not loading with it’s
own fcgi gem. I installed it by running
root public# gem install fcgi
Then I again tried installing manually, by downloading the tgz and
manually building it. It built without errors, and still the same
result. Has anyone got this to work?