Travis reports an odd message about corrupted Gemfile.lock

I use bundler to install files, and since I added Gemfile.lock , travis started complaining about:

 Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'echoe' 

Of course, everything works locally. It also works using DeployBot . I even installed docker ubuntu and tried, everything is fine. My Gemfile.lock not corrupted. The same versions of ruby ​​and bundler are used.

What's happening?

Update

This is due to the provider version. I used 1.11.0, but received reports that it worked, for example. 1.8.3. ??

+7
ruby bundler travis-ci
source share
2 answers

We saw a very similar problem today on Buildkite due to the recent version of the new provider version https://rubygems.org/gems/bundler/versions/1.11.0

We created the assembly by installing the version of the installed package.

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

and forcing to use this

 bundle _1.10.6_ install 
+18
source share

First, delete the gem lock file:

 rm -f Gemfile.lock 

Then install the dependencies:

 bundle install 

You can update the dependencies to make sure you don't get an error:

 bundle update 
+5
source share

All Articles