Travis reports odd message of corrupted Gemfile.lock

前端 未结 2 1451
独厮守ぢ
独厮守ぢ 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
    

提交回复
热议问题