Can't run rails server after accidentally running $ gem update --system

前端 未结 2 1818
故里飘歌
故里飘歌 2021-02-07 09:58

I ran gem update --system thinking it would solve a problem I was having, and now I can\'t run rails server. It won\'t load and instead, I keep getting

2条回答
  •  逝去的感伤
    2021-02-07 10:22

    I had the same issue today. Updating bundler to the latest version fixed the problem:

    gem update bundler
    

    And if you are running rbenv

    rbenv rehash
    

提交回复
热议问题