Troubleshooting » History » Version 2

« Previous - Version 2/98 (diff) - Next » - Current version
Ohad Levy, 09/20/2009 04:59 PM

rake aborted!

I get the following error while running rake db:migrate

rake aborted!
undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task

this means you have an old version of rake (older than 0.87), you can verify it by typing:

rake --version

Usually this error is "safe" to ignore, however, it is recommended to upgrade to rake >= 0.87

error: Entry 'some file' not uptodate. Cannot merge.

If you downloaded Foreman from source (git), it could be that some of the files you have modified (or were modified automatically) conflicts with another file Foreman wants to upgrade.

If you don't think that you edited this file (e.g. db/schema.rb) it is usually safe to do:

git checkout 'some file'

This will revert the file to its previous condition (as in the repo at the time of checkout) and now you should be able to get the latest version by:

git pull