The latest version of bundler (version 2) doesn't work with Ruby
versions before 2.3. Travis fails to install the appropriate version of
bundler for older versions of Ruby, but seemingly only on macOS. Travis
support suggested adding the following to .travis.yml.
The latest version of bundler (version 2) doesn't work with Ruby versions before 2.3. Travis fails to install the appropriate version of bundler for older versions of Ruby, but seemingly only on macOS. Travis support suggested adding the following to
.travis.yml
.This change performs that action, but only if
RUBY_VERSION
is less than 2.3.