Commit ae0296a
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.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 4a49cfd commit ae0296a
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments