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

后端 未结 15 1269
伪装坚强ぢ
伪装坚强ぢ 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:04

    This fixed it:

    1. Remove Gemfile.lock rm Gemfile.lock
    2. run bundle install again

    EDIT: DON'T DO IT IN PRODUCTION!

    For production go to this answer: https://stackoverflow.com/posts/54083113/revisions

提交回复
热议问题