The release of bundler 2.0 breaks travis-ci tests

オープン
#456 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
ruby
領域
ci-cd

調査の方向性

Start with .travis.yml and the reported Travis CI job log, focusing on the bundle install command and the before_install section. Ensure the Travis build installs a Bundler version compatible with the Ruby 2.1.9 environment, then rerun the CI build and confirm bundle install and the test script complete successfully.

索引モデルが issue の本文から書いたものです。

説明

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4
  • Ruby: 2.1.9
  • Distribution: ubuntu trusty (as provided by travis-ci)
  • Module version: master, probably any version

How to reproduce (e.g Puppet code you use)

Run any travis-ci build.

What are you seeing

travis-ci failes with an error, which is different from a normal build failiure.

Output log

https://travis-ci.org/voxpupuli/puppet-python/jobs/474908824

The program 'bundle' is currently not installed. To run 'bundle' please ask your administrator to install the package 'bundler'```

## Workaround
`diff --git a/.travis.yml b/.travis.yml
index 06169e3..e20c74e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,8 @@ language: ruby
 cache: bundler
 before_install:
   - rm -f Gemfile.lock
+  - gem install bundler -v '< 2' --conservative
+
 script:
   - 'bundle exec rake $CHECK'
 matrix:
`

## More Information
https://bundler.io/blog/2019/01/04/an-update-on-the-bundler-2-release.html
主要言語
Ruby
スター
196
フォーク
370
平均マージ
9時間 20分
マージ済み PR(30日)
3

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voxpupuli/puppet-python のほかの issue

voxpupuli/puppet-python の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。