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

后端 未结 9 1574
孤街浪徒
孤街浪徒 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:10

    I had this problem (with another gem that was not rake) and I was able to fix it by

    gem uninstall 
    gem install 
    
    bundle install
    bundle update
    

    Note that the keyword 'sudo' was not used (ie. sudo bundle install) as that may place your gem into directories where your rails app might not be searching in.

提交回复
热议问题