Bump bundler version in the before_install hook of travis

- We were running into issues with old bundler versions on 4.2
  builds. So we bumped the bundler version on 4-2-stable branch in
  https://github.com/rails/rails/pull/26592.
- This commit applies same change to master as per discussion in
  https://github.com/rails/rails/pull/26592#issuecomment-254026755.
This commit is contained in:
Prathamesh Sonpatki 2016-10-16 19:07:31 +02:00
parent 28ce091f82
commit bb93276b8d
No known key found for this signature in database
GPG Key ID: 8B90F6B89E2BCB71
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ addons:
bundler_args: --without test --jobs 3 --retry 3
before_install:
- "rm ${BUNDLE_GEMFILE}.lock"
- "gem update bundler"
- "[ -f /tmp/beanstalkd-1.10/Makefile ] || (curl -L https://github.com/kr/beanstalkd/archive/v1.10.tar.gz | tar xz -C /tmp)"
- "pushd /tmp/beanstalkd-1.10 && make && (./beanstalkd &); popd"