I\'m trying to run a migration but I keep getting the error message that is:
rake aborted! Undefined method prerequisite for nil:NilClass.
It s
I had the same issue and solved with the help of links below.
They can help understanding some concepts regarding this specific question and how and why to use bundle exec rake db:migrate
.
You have another option to use gem uninstall rake
and then select the version you want to remove.
Read Before installing rails 3.1
Rake 0.9 and gem version constraints by David Chelimsky