I'm trying to run rake db:migrate
locally but I'm getting the below error:
Gem::LoadError: You have already activated rake 10.2.2, but your Gemfile requires rake 10.1.1. Using bundle exec may solve this.
Not sure why this is happening? It came out of no where.
Any idea how to resolve this?
Cheers
You can delete your Gemfile.lock
. Then run bundle install
and bundler will recreate updated Gemfile.lock
with correct rake.
I just did that and this worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With