b5ea1b67e5 (master): [ruby/rubygems] Require spec path helpers lazily in the git config guard

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
5:16 AM (7 hours ago) 5:16 AM
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-08-04 04:13:07 +0000 (Tue, 04 Aug 2026)

New Revision: b5ea1b67e5

https://github.com/ruby/ruby/commit/b5ea1b67e5

Log:
[ruby/rubygems] Require spec path helpers lazily in the git config guard

support/subprocess.rb is preloaded into every spawned ruby before
RubygemsVersionManager switches RubyGems, and requiring support/path at
load time dragged the pathname default gem into that context, breaking
Bundler unit specs under a ruby-core setup. Require it only when a
local git config write actually needs the tmp root check.

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

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

Modified files:
spec/bundler/support/subprocess.rb
Reply all
Reply to author
Forward
0 new messages