Skip to content

Commit

Permalink
Lock Travis to bundler 1.x (#341)
Browse files Browse the repository at this point in the history
Bundler 2.0 has been released but has a dependency on rubygems 3.0, which is not available by default with our version of Ruby. So this PR attempts to lock Travis into using 1.x instead, as otherwise our build fails.
  • Loading branch information
irisfaraway authored Jan 3, 2019
1 parent fa8ecbd commit 56ab415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ before_install:
- sudo apt-get install xvfb -y
- sudo apt-get install ttf-liberation -y
- sudo apt-get install wkhtmltopdf -y
- gem install -v 1.17.2 bundler --no-rdoc --no-ri
before_script:
# Set up Mongo databases
- mongo waste-carriers-test --eval 'db.createUser({user:"mongoUser", pwd:"password1234", roles:["readWrite", "dbAdmin", "userAdmin"]})'
Expand Down

0 comments on commit 56ab415

Please sign in to comment.