ext/mkrf_conf.rb in spork-0.8.1 vs ext/mkrf_conf.rb in spork-0.8.2
- old
+ new
@@ -7,10 +7,10 @@
rescue NoMethodError
end
inst = Gem::DependencyInstaller.new
begin
inst.install "rake"
- inst.install "win32-process", "~> 0.6.1" if RUBY_PLATFORM =~ /mswin|mingw/
+ inst.install "win32-process", "~> 0.6.1" if RUBY_PLATFORM =~ /mswin|mingw/ and RUBY_VERSION < '1.9.1'
rescue
exit(1)
end
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success