Cannot get Ruby Site Working


#1

I cannot get the dispatcher working at all. All requests to the site return a 500 status. I brought over an old Rails 1.2.3 site… Ruby is frozen to 1.2.3 and I have a few gems localized. I followed the wiki instructions and copied over the dispatch.fcgi and updated the permissions. The app works fine on my dev Ubuntu machine.

Any suggestions would be greatly appreciated. I’m going on a few weeks of effort here.

Here’s the log:

[jimbo]$ tail -50 fastcgi.crash.log
[26/May/2008:07:48:09 :: 438] starting
[26/May/2008:07:48:09 :: 438] Dispatcher failed to catch: private method split' called for nil:NilClass (NoMethodError) /usr/lib/ruby/1.8/cgi.rb:897:inparse’
…/config/…/vendor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in initialize_query' /usr/lib/ruby/1.8/cgi.rb:2274:ininitialize’
/usr/lib/ruby/1.8/fcgi.rb:594:in new' /usr/lib/ruby/1.8/fcgi.rb:594:ineach_cgi’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:141:in process_each_request!' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:55:inprocess!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:25:in process!' ./dispatch.fcgi:26 almost killed by this error [26/May/2008:07:48:09 :: 438] Dispatcher failed to catch: private methodsplit’ called for nil:NilClass (NoMethodError)
/usr/lib/ruby/1.8/cgi.rb:897:in parse' ../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:ininitialize_query’
/usr/lib/ruby/1.8/cgi.rb:2274:in initialize' /usr/lib/ruby/1.8/fcgi.rb:594:innew’
/usr/lib/ruby/1.8/fcgi.rb:594:in each_cgi' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:141:inprocess_each_request!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:55:in process!' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:25:inprocess!’
./dispatch.fcgi:26
killed by this error
[26/May/2008:07:58:10 :: 7587] starting
[26/May/2008:07:59:38 :: 7587] asked to terminate immediately
[26/May/2008:07:59:38 :: 7587] terminated by explicit exit
[26/May/2008:07:59:41 :: 9554] starting
[26/May/2008:08:00:03 :: 28830] starting
[26/May/2008:08:00:03 :: 28830] Dispatcher failed to catch: private method split' called for nil:NilClass (NoMethodError) /usr/lib/ruby/1.8/cgi.rb:897:inparse’
…/config/…/vendor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in initialize_query' /usr/lib/ruby/1.8/cgi.rb:2274:ininitialize’
/usr/lib/ruby/1.8/fcgi.rb:594:in new' /usr/lib/ruby/1.8/fcgi.rb:594:ineach_cgi’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:141:in process_each_request!' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:55:inprocess!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:25:in process!' ./dispatch.fcgi:26 almost killed by this error [26/May/2008:08:00:03 :: 28830] Dispatcher failed to catch: private methodsplit’ called for nil:NilClass (NoMethodError)
/usr/lib/ruby/1.8/cgi.rb:897:in parse' ../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:ininitialize_query’
/usr/lib/ruby/1.8/cgi.rb:2274:in initialize' /usr/lib/ruby/1.8/fcgi.rb:594:innew’
/usr/lib/ruby/1.8/fcgi.rb:594:in each_cgi' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:141:inprocess_each_request!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:55:in process!' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:25:inprocess!’
./dispatch.fcgi:26
killed by this error