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

前端 未结 9 1975
再見小時候
再見小時候 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 06:15

    I saw a similar error message for the travis bundle after upgrading mac os to Catalina.

    Traceback (most recent call last):
        2: from /usr/local/bin/travis:22:in `
    ' 1: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems.rb:263:in `bin_path' /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems.rb:284:in `find_spec_for_exe': can't find gem travis (>= 0.a) with executable travis (Gem::GemNotFoundException)

    To resolve the issue, I reinstalled travis from source.

    brew remove travis;
    brew install -s travis
    

提交回复
热议问题