We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30e06a9 + 2f5a8f6 commit 051ba31Copy full SHA for 051ba31
ext/rugged/extconf.rb
@@ -31,7 +31,8 @@ class CMakeTimeout < StandardError
31
32
def self.run_cmake(timeout, args)
33
# Set to process group so we can kill it and its children
34
- pid = Process.spawn("cmake #{args}", pgroup: true)
+ pgroup = Gem.win_platform? ? :new_pgroup : :pgroup
35
+ pid = Process.spawn("cmake #{args}", pgroup => true)
36
37
Timeout.timeout(timeout) do
38
Process.waitpid(pid)
rugged.gemspec
@@ -31,4 +31,5 @@ desc
s.add_development_dependency "rake-compiler", ">= 0.9.0"
s.add_development_dependency "pry"
s.add_development_dependency "minitest", "~> 5.0"
+ s.metadata["msys2_mingw_dependencies"] = "libssh2"
end
0 commit comments