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. A subsequent release, 2.0.1, requires RubyGems 2.5.0.
This change downgrades bundler in order to allow installation of the project gems for build. Example of a successful build with this change here.
Additionally, I was seeing errors installing ruby-1.9.3 which is not listed in Travis' list of precompiled ruby binaries so I updated that version to patch 551 (ruby-1.9.3-p551).
https://docs.travis-ci.com/user/languages/ruby/#bundler-20
This change downgrades bundler in order to allow installation of the project gems for build. Example of a successful build with this change here.
Additionally, I was seeing errors installing ruby-1.9.3 which is not listed in Travis' list of precompiled ruby binaries so I updated that version to patch 551 (ruby-1.9.3-p551).