On January 3rd 2019 the Bundler team released Bundler 2.0 which dropped support for Ruby versions 2.2 and older, and added a new dependency on RubyGems 3.0.0.
If you find your builds are failing due to “bundler not installed” errors, try one of the following solutions:
If you are using a Ruby version lower than 2.3, add the following to your .travis.yml:
before_install:
- gem install bundler -v '< 2'
If you’re using Ruby 2.3 or higher, upgrade to Bundler 2.0 by adding the following to your .travis.yml:
See https://docs.travis-ci.com/user/languages/ruby/#bundler-20:
On January 3rd 2019 the Bundler team released Bundler 2.0 which dropped support for Ruby versions 2.2 and older, and added a new dependency on RubyGems 3.0.0.
If you find your builds are failing due to “bundler not installed” errors, try one of the following solutions:
If you are using a Ruby version lower than 2.3, add the following to your .travis.yml:
If you’re using Ruby 2.3 or higher, upgrade to Bundler 2.0 by adding the following to your .travis.yml: