"You have already activated rake 10.1
.1, but your Gemfile requires rake 10.4.2. Prepending bundle exec
to your comm
and may solve this. (Gem::LoadError)"
I am facing this issue. I tried with other existing answers in stachoverflow.
But still the issue cann't resolve.
Can anybody suggest..please..
Thanks in advance.
gem list | grep rake
if you see two versions of rake, then
gem uninstall rake -v 10.4.2
You need to update your Gemfile.lock. Do this:
bundle update rake
Run 'bundle update' to fix the version issues. This fixed for me, and I was getting the exact error as you.
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