您已经激活了rake 10.0.4,但您的Gemfile需要rake 10.0.3。使用bundle exec可以解决这个问题。
bundle exec rake db:migrate - 什么都不做。
在我的Gemfile中,我没有“rake”字符串。 我做了:
>gem install rake -v 10.0.3
>bundle install
它返回了
>Using rake (10.0.3)
uninstall rake -v 10.0.4
返回 INFO:未安装gem“rake”
bundle update rake
也没有帮助我。
我不知道该怎么做。