rvm:
- 1.9.3
- 2.1.5
- 2.2.2
- 2.3.4
- 2.4.1
sudo: false
dist: trusty
cache: bundler
before_script:
  - gem update bundler

rvm:
- 1.9.3
- 2.1.5
- 2.2.2
- 2.3.4
- 2.4.1
sudo: false
dist: trusty
cache: bundler
install:
  - gem update --system 2.6.12  # https://github.com/rubygems/rubygems/issues/2024
  - gem install bundler
  - "bundle install --verbose --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}"

Fix Travis config and pin rubygems version
Fix Travis config and pin rubygems version

to avoid a Rubygems regression which is making builds fail
on older Rubies

https://github.com/rubygems/rubygems/issues/2024
