This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
Bundler 2 release fully broke installation CentOS 7 #6870
Comments
Thanks for the issue @ssbarnea. Since Ruby 2.0 is end-of-life it's not supported by the latest version of Bundler anymore, and rubygems doesn't have the version resolution logic in it to figure out what the latest supported version is. If you run |
I think this would be fixed by rubygems/rubygems#2539? It's been closed and requested to be split into separate different PRs because of including a bunch of unrelated bug fixes, but it claims to fix the /cc @MSP-Greg |
I wrote a small ruby script that can be used to workaround that issue:
|
openstack-gerrit
pushed a commit
to openstack/puppet-openstack-integration
that referenced
this issue
Jan 9, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I906ad01187ad5b929b378107de065d32d23c5fc2 Closes-Bug: #1810401
openstack-gerrit
pushed a commit
to openstack/openstack
that referenced
this issue
Jan 9, 2019
* Update puppet-openstack-integration from branch 'master' - Merge "Workaround for installing correct version of ruby bundler" - Workaround for installing correct version of ruby bundler See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I906ad01187ad5b929b378107de065d32d23c5fc2 Closes-Bug: #1810401
openstack-gerrit
pushed a commit
to openstack/puppet-openstack-integration
that referenced
this issue
Jan 9, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Closes-Bug: #1810401 (cherry picked from commit 7acca40) Change-Id: Ibd1ff419d13cace906d4cd9765dc7b5486bc19a7
openstack-gerrit
pushed a commit
to openstack/puppet-openstack-integration
that referenced
this issue
Jan 10, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I906ad01187ad5b929b378107de065d32d23c5fc2 Closes-Bug: #1810401 (cherry picked from commit 7acca40)
openstack-gerrit
pushed a commit
to openstack/puppet-openstack_spec_helper
that referenced
this issue
Jan 11, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401
openstack-gerrit
pushed a commit
to openstack/openstack
that referenced
this issue
Jan 11, 2019
* Update puppet-openstack_spec_helper from branch 'master' - Workaround for installing correct version of ruby bundler See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401
openstack-gerrit
pushed a commit
to openstack/puppet-openstack_spec_helper
that referenced
this issue
Jan 12, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401 (cherry picked from commit 6185377)
openstack-gerrit
pushed a commit
to openstack/puppet-openstack_spec_helper
that referenced
this issue
Jan 14, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401 (cherry picked from commit 6185377) (cherry picked from commit 9b6f1e1)
openstack-gerrit
pushed a commit
to openstack/puppet-openstack-cookiecutter
that referenced
this issue
Jan 17, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401
openstack-gerrit
pushed a commit
to openstack/openstack
that referenced
this issue
Jan 17, 2019
* Update puppet-openstack-cookiecutter from branch 'master' - Workaround for installing correct version of ruby bundler See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401
openstack-gerrit
pushed a commit
to openstack/puppet-openstack_spec_helper
that referenced
this issue
Feb 7, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401 (cherry picked from commit 6185377) (cherry picked from commit 9b6f1e1) (cherry picked from commit c44a4bb)
openstack-gerrit
pushed a commit
to openstack/puppet-openstack_spec_helper
that referenced
this issue
Feb 7, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Change-Id: I521affb16d8d2312be3ff507a014adddacd6cb8b Closes-Bug: #1810401 (cherry picked from commit 6185377) (cherry picked from commit 9b6f1e1) (cherry picked from commit c44a4bb)
openstack-gerrit
pushed a commit
to openstack/puppet-openstack-integration
that referenced
this issue
Feb 7, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Closes-Bug: #1810401 (cherry picked from commit 7acca40) Change-Id: Ibd1ff419d13cace906d4cd9765dc7b5486bc19a7 (cherry picked from commit d83f041) (cherry picked from commit 44fa397)
openstack-gerrit
pushed a commit
to openstack/puppet-openstack-integration
that referenced
this issue
Feb 7, 2019
See rubygems/bundler#6870 Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby version and install last known to work version. This means that newer OS will get newer versions of bundler. Closes-Bug: #1810401 (cherry picked from commit 7acca40) Change-Id: Ibd1ff419d13cace906d4cd9765dc7b5486bc19a7 (cherry picked from commit d83f041)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The installer
gem install bundler
no longer works onCentOS 7
because the ruby version there is 2.0This is a serious regression as it breaks CI all over the place and people will endup using pinning to avoid it.
Get should install the latest version supported by the current ruby interpreter, which is
1.17.3
if I am correct in this case.The text was updated successfully, but these errors were encountered: