The release of bundler 2.0 breaks travis-ci tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 35/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Ruby
- Stars
- 196
- Forks
- 372
- Avg merge
- 1d 18m
- Merged PRs (30d)
- 4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from voxpupuli/puppet-python
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
voxpupuli/puppet-python#743 · 1 comment ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
voxpupuli/puppet-python#721 · 1 reaction ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
voxpupuli/puppet-python#712 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
voxpupuli/puppet-python#711 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
voxpupuli/puppet-python#673 · 1 comment ·
All issues in voxpupuli/puppet-python
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100