Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Docker build error with rubygems and bundler versions (#900)
* Fix error with rubygems-update ``` ERROR: Error installing rubygems-update: There are no versions of rubygems-update (= 3.4.3) compatible with your Ruby & RubyGems rubygems-update requires Ruby version >= 2.6.0. The current ruby version is 2.5.9.229. ERROR: While executing gem ... (Errno::ENOENT) No such file or directory @ dir_chdir - /usr/local/bundle/gems/rubygems-update-3.0.3 ``` Same issue as rubygems/rubygems#2534, following the suggested workaround in the comments there to install an older version of rubygems-update * Pin bundler version to avoid error with Ruby 2.5.9 Without this, we get this error ``` Fetching gem metadata from https://rubygems.org/.......... bundler-2.4.5 requires ruby version >= 2.6.0, which is incompatible with the current version, 2.5.9 ``` According to https://bundler.io/compatibility.html, the highest version of bundler that supports Ruby 2.5.9 is 2.3, so ~> to 2.3.0, which should get us on bundler 2.3.26 but not >= 2.4.0
- Loading branch information