Bundler::GemNotFound: Could not find rake-10.3.2 in any of the sources

后端 未结 6 1683
执念已碎
执念已碎 2020-12-02 10:35

I have been working with Rails and it sends me back this error. Please provide questions. Thanks for all the help. I will update this question with a better one because I do

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-02 11:00

    Remove your Gemfile.lock.

    Move to bash if you are using zsh.

    sudo bash
    gem update --system 
    

    Now run command bundle to create a new Gemfile.lock file. Move back to your zsh sudo exec zsh now run your rake commands.

提交回复
热议问题