mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
4a417b08ae
In ruby 2.7.0, there's a slight change in bundler's default gemspec file where the executable folder of the bundler gem is `libexec` instead of `exe`. I made that change in https://github.com/ruby/ruby/pull/2380 to try to simplify the integration of the `bundler` gem with upstream, minimizing the number of changes that need to be made to the gemspec to adapt to the structure of ruby-core. That worked ok, expected for this issue. The new name of the folder including the executable files uncovered a bug in rubygems, which is the following: * In order to be able to use newer versions of default gems, `rubygems` ships with a customized `require` that has knowledge about which files belong to which default gem. If one of these files is required, `rubygems` will detect that and activate its gem mechanism to choose the newest version of the corresponding default gem present in the system (unless a different version has already been activated). It's this part of the custom require: |
||
---|---|---|
.. | ||
benchmark | ||
bundler | ||
cgi | ||
csv | ||
delegate | ||
did_you_mean | ||
drb | ||
forwardable | ||
getoptlong | ||
irb | ||
logger | ||
matrix | ||
net | ||
observer | ||
open3 | ||
optparse | ||
ostruct | ||
pstore | ||
racc | ||
rdoc | ||
reline | ||
rinda | ||
rubygems | ||
singleton | ||
timeout | ||
tracer | ||
unicode_normalize | ||
uri | ||
weakref | ||
webrick | ||
yaml | ||
.document | ||
abbrev.rb | ||
base64.rb | ||
benchmark.rb | ||
bundler.rb | ||
cgi.rb | ||
csv.rb | ||
debug.rb | ||
delegate.rb | ||
did_you_mean.rb | ||
drb.rb | ||
English.gemspec | ||
English.rb | ||
erb.rb | ||
fileutils.gemspec | ||
fileutils.rb | ||
find.rb | ||
forwardable.rb | ||
getoptlong.rb | ||
ipaddr.gemspec | ||
ipaddr.rb | ||
irb.rb | ||
logger.rb | ||
matrix.rb | ||
mkmf.rb | ||
mutex_m.gemspec | ||
mutex_m.rb | ||
observer.rb | ||
open-uri.rb | ||
open3.rb | ||
optionparser.rb | ||
optparse.rb | ||
ostruct.rb | ||
pp.rb | ||
prettyprint.rb | ||
prime.gemspec | ||
prime.rb | ||
pstore.rb | ||
racc.rb | ||
rdoc.rb | ||
readline.gemspec | ||
readline.rb | ||
reline.rb | ||
resolv-replace.rb | ||
resolv.rb | ||
rubygems.rb | ||
securerandom.rb | ||
set.rb | ||
shellwords.rb | ||
singleton.rb | ||
tempfile.gemspec | ||
tempfile.rb | ||
time.rb | ||
timeout.rb | ||
tmpdir.gemspec | ||
tmpdir.rb | ||
tracer.rb | ||
tsort.rb | ||
un.rb | ||
uri.rb | ||
weakref.rb | ||
webrick.rb | ||
yaml.rb |