660aa1a2ac (master): [ruby/rubygems] Do not restore Bundler root when it was never saved

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Aug 27, 2026, 7:38:03 PM (7 days ago) Aug 27
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-08-26 04:57:19 +0000 (Wed, 26 Aug 2026)

New Revision: 660aa1a2ac

https://github.com/ruby/ruby/commit/660aa1a2ac

Log:
[ruby/rubygems] Do not restore Bundler root when it was never saved

`defined?(previous_root)` is true even when the assignment never ran, so
a failure before the root was saved reset Bundler's root to nil.

https://github.com/ruby/rubygems/commit/b2177cd67d

Co-Authored-By: Claude Fable 5 <nor...@anthropic.com>

Modified files:
lib/rubygems/request_set.rb
test/rubygems/test_gem_request_set.rb
Reply all
Reply to author
Forward
0 new messages