Scratch that FastCGI IPC bit

In amongst what I did in the last post I did a few other things. One was installing the ‘fcgi’ gem and trying to not use ‘fcgi_hander’ and require the gem instead. This didn’t work because I left in the ‘RailsFCGIHandler.process!’ bit and didn’t copy over the old Dispatcher.process routine.

It was installing the ‘fcgi’ gem that fixed the Apache problem, nothing to do with the configuration. The very first line of

/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb

is

require ‘fcgi’

which is a bit of a give away. Odd that the I don’t remember seeing this error message:

[Sat Aug 06 17:49:36 2005] [warn] FastCGI: server "/.../rails-app/public/dispatch.fcgi" restarted (pid 14287) /usr/lib/ruby/siteruby/1.8/rubygems/customrequire.rb:21:in require__': No such file to load -- fcgi (MissingSourceFile) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’ from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/activesupport/dependencies.rb:200:in require' from /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire‘ from /usr/lib/ruby/siteruby/1.8/rubygems/custom_require.rb:27:in require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:20 0:inrequire’ from /…/rails-app/public/dispatch.fcgi:22

A quick check on DreamHost (gem list –local | grep fgci) shows they haven’t got it installed either. Good thing I didn’t submit that ticket yet!

Spread the word: Technorati related  |  Technorati related  |  del.icio.us bookmark it!  |  submit Scratch that FastCGI IPC bit digg.com digg it!  |  reddit reddit!

One Response to “Scratch that FastCGI IPC bit”

  1. Sundae weblog » Blog Archive » Debian sarge, Apache, Ruby on Rails and FastCGI says:

    […] First, I found out that you need to install the gem package fcgi: gem install fcgi […]

Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>