Travis reports odd message of corrupted Gemfile.lock

前端 未结 2 1428
独厮守ぢ
独厮守ぢ 2020-12-10 16:08

Im using bundler to install stuff and since I have added Gemfile.lock, travis started to complain with:

Your Gemfile.lock is corrupt. The follow         


        
相关标签:
2条回答
  • 2020-12-10 16:46

    Firstly, remove the gem lock file:

    rm -f Gemfile.lock
    

    Then install the dependencies:

    bundle install
    

    You can update the dependencies to ensure that you won't get an error:

    bundle update
    
    0 讨论(0)
  • 2020-12-10 17:06

    We've seen a very similar issue today on Buildkite due to the recent release of a new bundler version https://rubygems.org/gems/bundler/versions/1.11.0

    We got the build working by stipulating the version of bundler to install.

    gem install -v 1.10.6 bundler --no-rdoc --no-ri
    

    and forcing the use of that

    bundle _1.10.6_ install
    
    0 讨论(0)
提交回复
热议问题