From 46384f02dbfac767c731e55370bb6003e07af092 Mon Sep 17 00:00:00 2001 From: Moncef Belyamani Date: Thu, 31 Dec 2015 10:21:29 -0500 Subject: [PATCH] Update bundler on Travis before installing gems **Why**: I noticed that recent builds started failing on Travis for no apparent reason. I then saw that Travis was using a different version of bundler compared to builds from 2 months ago. This version of bundler seems to be incompatible with certain versions of Ruby. By making sure bundler is up to date, it allows Travis to install the gems on all the versions of Ruby that this repo supports. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index a4a559f..8f74b9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,9 @@ matrix: allow_failures: - env: "RAILS_VERSION=master" +before_install: + - gem update bundler + before_script: - bundle exec rake app:db:migrate