diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-05-21 15:20:57 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-05 07:32:42 +0900 |
commit | f0f138aa5d5857fb435bfaef95201d530f6d35da (patch) | |
tree | e665dd7b562ad36a68a7d44a11dd640153586303 /README.EXT | |
parent | 07dca5c02c95322a39833705d3acd87b3adb00ac (diff) |
[rubygems/rubygems] Fix `$LOADED_FEATURES` cache sometimes not respected
In the cases where the initial manually `-I` path resolution succeeded,
we were passing a full path to the original require effectively skipping
the `$LOADED_FEATURES` cache. With this change, we _only_ do the
resolution when a matching requirable path is found in a default gem. In
that case, we skip activation of the default gem if we detect that the
required file will be picked up for a `-I` path.
https://github.com/rubygems/rubygems/commit/22ad5717c3
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3184
Diffstat (limited to 'README.EXT')
0 files changed, 0 insertions, 0 deletions