Skip to content

Commit 1ac8508

Browse files
committed
Fix issue for MinGW / MSYS2 builds and testing
See ruby/ruby#1553 & #1876 Fixes test-all isssues MinGW / Windows
1 parent 60f35bd commit 1ac8508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubygems/test_case.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def git_gem name = 'a', version = 1
484484

485485
system @git, 'add', gemspec
486486
system @git, 'commit', '-a', '-m', 'a non-empty commit message', '--quiet'
487-
head = Gem::Util.popen('git', 'rev-parse', 'master').strip
487+
head = Gem::Util.popen(@git, 'rev-parse', 'master').strip
488488
end
489489

490490
return name, git_spec.version, directory, head

0 commit comments

Comments
 (0)