Skip to content

Make bundler a proper default gem#6486

Merged
headius merged 1 commit intojruby:masterfrom
headius:bundler_default_gem
Dec 5, 2020
Merged

Make bundler a proper default gem#6486
headius merged 1 commit intojruby:masterfrom
headius:bundler_default_gem

Conversation

@headius
Copy link
Member

@headius headius commented Dec 4, 2020

We have been versioning bundler directly in stdlib, since that is
how we ship RubyGems and the upgrade process for RG also copies
the bundler files into stdlib. However, since it does not get
installed using the default gem process, RG does not know to look
for an upgraded gem version leading to the issue reported in
issue #6485.

This PR removes the versioned files from stdlib and adds bundler
as a default gem, fixing the reported example.

Fixes #6485 and likely others

We have been versioning bundler directly in stdlib, since that is
how we ship RubyGems and the upgrade process for RG also copies
the bundler files into stdlib. However, since it does not get
installed using the default gem process, RG does not know to look
for an upgraded gem version leading to the issue reported in
issue jruby#6485.

This PR removes the versioned files from stdlib and adds bundler
as a default gem, fixing the reported example.

Fixes jruby#6485 and likely others
@headius headius added this to the JRuby 9.3.0.0 milestone Dec 4, 2020
@headius headius merged commit 99ff5e1 into jruby:master Dec 5, 2020
@headius headius deleted the bundler_default_gem branch December 5, 2020 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

require 'bundler' should prefer the gemified version

1 participant