mercredi 9 mars 2016

NoMethodError: undefined method `last_comment' after upgrading to rake 11

When running any rake task I get:

NoMethodError: undefined method `last_comment' for #<Rake::Application:0x007ff0cf37be38>

This was after bundle update which pulled in the new version of rake, version 11.0.1.

$ grep rake Gemfile.lock
       rake
       rake (>= 0.8.7)
     rake (11.0.1)
       rake
$ bundle update
$ bundle exec rake db:drop # any rake task
  NoMethodError: undefined method `last_comment' for #<Rake::Application:0x007ff0cf37be38>

Versions

  • Rails 3.2.11
  • Rake 11.0.1

Aucun commentaire:

Enregistrer un commentaire