Topic: Deploying Error: undefined method 'generate_best_match='

Hey guys,

I'm quite new to rails and experiencing some problems with the deployment of my application to a web server.

I am using github, can connect to the server, "cap deploy:check" and :setup run fine, but when I want to use "deploy:cold" or migrate my database (rake RAILS_ENV=production db:migrate) I get this error:

rake aborted!
undefined method 'generate_best_match=' for ActionController::Routing:Module

when I --trace I get
../config/initializers/new_rails_defaults.rb:14

Ruby=1.8.7p5000, Rails=2.2.2

I really hope you can help me with this one.