Hi all,
M having a problem deploying a ruby on rails application on the
production server tthough I’ve successfully deployed another 1 on the
same before, and though the neww app is successfully running on the
developer’s server.
After lots of trials, setting files permissions, configuring
enviroment.rb to point to the server’s rails version , configuring the
ruby path in dispatch.fcgi, , I get the bowser error, “Something Went
Wrong”. Checking the fastcgi.crash.log file I find the following error:
[31/Jan/2008:16:00:58 :: 11562] Dispatcher failed to catch: private
method split' called for nil:NilClass (NoMethodError) /usr/local/lib/ruby/1.8/cgi.rb:897:in
parse’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in
initialize_query' /usr/local/lib/ruby/1.8/cgi.rb:2270:in
initialize’
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:594:in each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:141:in
process_each_request!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:55:in
process!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:25:in
process!’
dispatch.fcgi:6
almost killed by this error
[31/Jan/2008:16:00:58 :: 11562] Dispatcher failed to catch: private
method split' called for nil:NilClass (NoMethodError) /usr/local/lib/ruby/1.8/cgi.rb:897:in
parse’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in
initialize_query' /usr/local/lib/ruby/1.8/cgi.rb:2270:in
initialize’
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:594:in each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:141:in
process_each_request!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:55:in
process!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/fcgi_handler.rb:25:in
process!’
dispatch.fcgi:6
killed by this error
my new dispatch.fcgi file content is:
#!/usr/local/lib/env ruby
require File.dirname(FILE) + “/config/environment”
require ‘fcgi_handler’
RailsFCGIHandler.process!
Some1 plz advise as m starting to turn crazy, the only diff between this
app and the older is that it contains facebook pluging but the plugin is
properly located in the vendor folder, and all it’s related errors are
now fixed!!
Any1 has any clue??!!