Skip to content

Commit

Permalink
Fix TravisCI builds by updating bundler
Browse files Browse the repository at this point in the history
The TravisCI version of bundler is out of date, which can cause some problems
install dependencies. Updating bundler as part of the install setup is the
fix recommended by Travis (See travis-ci/travis-ci#3531)

I was seeing it another govuk_template branch:
- https://travis-ci.org/alphagov/govuk_template/builds/102056609

There is an identical fix for govspeak:
- alphagov/govspeak@1135ada

More info:
- rubygems/rubygems#1419
- thoughtbot/factory_bot#846
  • Loading branch information
David Singleton committed Jan 13, 2016
1 parent 286ee5d commit e9ae305
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
language: ruby
before_install:
# Travis bundler versions are quite out of date and can cause install errors
# see: https://github.com/rubygems/rubygems/issues/1419
- gem update bundler
install:
# Ensure that Travis install is a no-op because `jenkins.sh`
# installs dependencies.
Expand Down

0 comments on commit e9ae305

Please sign in to comment.