Bundler: can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException) during bundle install with gem

前端 未结 9 1981
再見小時候
再見小時候 2020-12-13 05:35

I\'m executing the following script:

gem install rdoc --no-document
gem install bundle
bundle

output:

+ gem install rdoc --         


        
9条回答
  •  感动是毒
    2020-12-13 05:58

    I couldn’t even do bundle -v. This sorted it out:

    gem update --system
    

    Got the info from here (similar problem): find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)

    Probably some version mismatch between ruby + gem + bundler

提交回复
热议问题