bundle install stopped working today. The fix we did was to upgrade bundler version to 1.16, cos 1.15 which is available was casing error /usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/exe/bundle (LoadError)
I think it is connected with last circleci/ruby:2.4-node update made today. Can you confirm and fix that?
This is an issue with Bundler 1.16.0 that’s packaged with Ruby. On Friday we reverted a prior patch that uninstalled this version and installed 1.15.4. That patch didn’t fully uninstall 1.16.0.
Initial investigations show that it might require rebuilding the image without installing bundler 1.16.0, instead of relying on docker-library/ruby. We’re discussing working with the upstream maintainers to resolve this.
In the mean time, can you try this workaround in your build before using bundler and let us know if it works for you?
Since Rubygems is around version 2.7, you may want to try updating that with gem update --system. I’m not sure if this bug is all Bundler or partly Bundler and partly Rubygems.
It looks like that updated your bundler version. You may want to upgrade beyond Ruby 2.0.0 at this time, since that version has been EOL since February. That should also resolve this Bundler/Rubygems issue.