Sha256: 36ae4599fa500440debcd1b2b9c20d1a8d45b856b719fa9bff3d1c8c229dd482

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

require 'rubygems'
require 'rubygems/command.rb'
require 'rubygems/dependency_installer.rb' 
STDERR.puts "Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system"
begin
  Gem::Command.build_args = ARGV
  rescue NoMethodError
end 
inst = Gem::DependencyInstaller.new
begin
  inst.install "rake"
  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
f.write("task :default\n")
f.close

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spork-0.8.2 ext/mkrf_conf.rb