You have already activated rake 0.9.0, but your Gemfile requires rake 0.8.7

后端 未结 9 1547
孤街浪徒
孤街浪徒 2020-12-07 08:54

I\'m trying to run rails project, I get

Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

If I

9条回答
  •  一向
    一向 (楼主)
    2020-12-07 09:22

    I thank to Dobry Den, cheers dude. but little more I had to do. here is solution (works for me). I had added

    gem 'rake','0.8.7'
    

    on Gemfile, which was not there, but my new version of rails automatically install rake(0.9.0).

    after I had delete rake0.9.0 by gem uninstall rake and after doing bundle update rake , I can create and migrate database.

提交回复
热议问题