Travis报告Gemfile.lock损坏的奇怪消息 [英] Travis reports odd message of corrupted Gemfile.lock

查看:58
本文介绍了Travis报告Gemfile.lock损坏的奇怪消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用捆绑软件安装东西,并且由于我添加了 Gemfile.lock ,所以travis开始抱怨:

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

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

当然,所有内容在本地工作。它也可以使用 DeployBot 使用。我什至安装了docker ubuntu并尝试了,仍然可以。我的 Gemfile.lock 没有损坏。使用相同版本的ruby和bundler。

Of course, everything works locally. It also works using DeployBot. I even installed docker ubuntu and tried, still ok. My Gemfile.lock is not corrupt. Same versions of ruby and bundler is used.

发生了什么事?

这与捆绑器版本有关。我使用的是1.11.0,但有报告说可以使用。 1.8.3。

This is something related to bundler version. Im using 1.11.0, but got reports that it worked with eg. 1.8.3. ??

推荐答案

我们今天在 Buildkite 由于最近发布了新的捆绑器版本
https://rubygems.org/gems/bundler/versions/1.11.0

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

并强制使用该

bundle _1.10.6_ install

这篇关于Travis报告Gemfile.lock损坏的奇怪消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆