[Rails] Re: Deploying Error: undefined method 'generate_best_match='
On Nov 24, 5:43 pm, Martin <martin.kn...@googlemail.com> wrote:
> 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
There's your problem - you've got a Rails 2.3 initializer running
against 2.2.2. You'll need to fix one or the other...
--Matt Jones
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home