Run `gem update --system` before install on CI

There's an issue with the combination of Bundler `1.16.1` and rubygems `2.7.3`.
This command will install rubygems `2.7.4` in order to fix it.

https://github.com/travis-ci/travis-ci/issues/8978
This commit is contained in:
Leonardo Tegon 2017-12-29 16:11:04 -02:00
parent f016e823cd
commit caf633854d
No known key found for this signature in database
GPG Key ID: 5B6E037E53922ECF
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ env:
- DEVISE_ORM=active_record
- DEVISE_ORM=mongoid
before_install: "rm ${BUNDLE_GEMFILE}.lock"
before_install:
- "rm ${BUNDLE_GEMFILE}.lock"
- gem update --system
before_script: "bundle update"