Kernel#require does not load a feature twice when $LOAD_PATH has been modified spec fails only on 2.7
fails in 2.7.1, but not on Ruby <= 2.6 and not on master.
Could someone investigate why that is and if the change is on purpose or a bug?
It sounds like a bug, because changing the last
be_true then passes for
Kernel#require but fails for
$ Use ruby 2.7.1 $ cd ruby/spec # remove ruby_bug guard in core/kernel/require_spec.rb $ mspec core/kernel/require_spec.rb
Updated by nagachika (Tomoyuki Chikanaga) about 1 year ago
Thank you for the bisecting.
I think it's hard to backport whole 96064e6f1ce100a37680dc8f9509f06b3350e9c8. Reverting dd16f8524c44f8802e634af2577fe5a149cd740e may fix this issue. I wonder dd16f8524c44f8802e634af2577fe5a149cd740e was the fix for another issues or not.
hsbt san, do you have any idea?
Updated by hsbt (Hiroshi SHIBATA) 5 months ago
- Status changed from Assigned to Closed
I released RubyGems 3.1.6 https://blog.rubygems.org/2021/01/26/3.1.6-released.html
Updated by nagachika (Tomoyuki Chikanaga) 5 months ago
- Backport changed from 2.5: DONTNEED, 2.6: DONTNEED, 2.7: DONE to 2.5: DONTNEED, 2.6: DONTNEED, 2.7: REQUIRED
Thank you for your investigations!
I will take a look at it.
BTW, can I push merge button on GitHub PR into stable branches?