The –prefic option in mongrel configuration causes this error.
Go to RAILS_APP/config/mogrel_cluster.yml and remove the “prefix” option
If you are having problem in starting the server, without “–prefix” option. Pls refer the workaroung suggested. (http://www.nabble.com/Problem-when-migrating-from-rails-2.2.2-to-rails-2.3.2-on-linux–SLES10-%2B-apache-2-td22961256.html)
Copy this file in my_rails_app/config/initializers :
abstract_request.rb
module ActionController
class AbstractRequest < ActionController::Request
def self.relative_url_root=(path)
ActionController::Base.relative_url_root=(path)
end
def self.relative_url_root
ActionController::Base.relative_url_root
end
end
end
