Rails: You have already activated rake 10.3.1, but your Gemfile requires rake 10.2.2 (Gem::LoadError)

后端 未结 15 1907
自闭症患者
自闭症患者 2020-12-05 02:21

Here is my error:

rake aborted!
Gem::LoadError: You have already activated rake 10.3.1, but your Gemfile requires rake 10.2.2. Prepending `bundle exec` to yo         


        
15条回答
  •  天命终不由人
    2020-12-05 02:47

    You can use rubygems-bundler to solve this. Run the following commands:

    $ gem install rubygems-bundler

    $ gem regenerate_binstubs

    Then try your rake again.

提交回复
热议问题