The travis push job fails for my github clocale repository, but only for Ruby 2.3 whereas the corresponding pr job succeeded a few minutes before for the same config
Error:
The program 'bundle' is currently not installed. To run 'bundle' please ask your administrator to install the package 'bundler'
The root cause is the release of bundler version 2.0, which introduces a dependency to rubygems >= 3.0. This version of gem is only available by default in Ruby 2.6. Unless your bundler version is pinned somehow the defaults will try to install 2.x, which will fail due to the presence of an older rubygem version.
This affects multiple services right now, among them Travis and Netlify. Most likely other platforms with similar build systems are affected as well.
Edit: Another way to go without bumping the Ruby version is to update rubygems itself (gem update --system), but I’m not sure if that’s possible early in the build / setup process.
None of the above worked for me unfortunately, but I was successful with upgrading ruby.
before_install:
- rvm install 2.6.0
I still see some non-fatal errors though:
ruby-2.6.0 - #importing gemset /home/travis/.rvm/gemsets/global.gemsthere was an error installing gem gem-wrappers
there was an error installing gem rubygems-bundler
there was an error installing gem rvm