find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)

后端 未结 15 1260
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 17:14

I used sudo bundle install and that might be the cause of the issue?

Now I have:

  • gem -v 2.6.14
  • ruby -v
15条回答
  •  [愿得一人]
    2020-11-29 18:05

    Open Gemfile.lock, which is to be found in the root of your app folder. Scroll to the end of the file and see the bundler version used. Then you make sure you install the bundler version used:

    gem install bundler -v x.xx.xx
    

    Or - delete the Gemfile.lock and bundle if you have higher bundler version installed.

    The choice is yours, my friend.

提交回复
热议问题