Skip to content

Commit 2dc81a5

Browse files
committed
Auto merge of #1879 - MSP-Greg:MinGW_Issues26, r=segiddins
Fix issue for MinGW / MSYS2 builds and testing See ruby/ruby#1553 & #1876 Fixes test-all issues using MinGW / Windows
2 parents a845085 + 1ac8508 commit 2dc81a5

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)