Travis reports odd message of corrupted Gemfile.lock

随声附和 提交于 2019-11-28 11:22:26
s01ipsist

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
Purkhalo Alex

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
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!