Sha256: ddfc0aa825bf06fc6e839ad0944e1fa32c683e98bee89193346914ab1e044616

Contents?: true

Size: 638 Bytes

Versions: 35

Compression:

Stored size: 638 Bytes

Contents

require 'rubygems'
require 'rubygems/command.rb'
require 'rubygems/dependency_installer.rb' 
require 'rbconfig'
begin
  Gem::Command.build_args = ARGV
  rescue NoMethodError
end 
inst = Gem::DependencyInstaller.new
begin
  if RbConfig::CONFIG['host_os'] =~ /mswin|windows|cygwin/i
    inst.install "win32-open3", "0.0.2"
  end
  if RUBY_VERSION < "1.9"
    inst.install "ruby-debug-base", "~> 0.10.3"
  else
    inst.install "ruby-debug-base19", "~> 0.11.24"
  end
  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

35 entries across 35 versions & 1 rubygems

Version Path
high_five-0.3.23 ext/mkrf_conf.rb
high_five-0.3.22 ext/mkrf_conf.rb
high_five-0.3.21 ext/mkrf_conf.rb
high_five-0.3.20 ext/mkrf_conf.rb
high_five-0.3.19 ext/mkrf_conf.rb
high_five-0.3.18 ext/mkrf_conf.rb
high_five-0.3.17 ext/mkrf_conf.rb
high_five-0.3.16 ext/mkrf_conf.rb
high_five-0.3.15 ext/mkrf_conf.rb
high_five-0.3.14 ext/mkrf_conf.rb
high_five-0.3.13 ext/mkrf_conf.rb
high_five-0.3.12 ext/mkrf_conf.rb
high_five-0.3.11 ext/mkrf_conf.rb
high_five-0.3.10 ext/mkrf_conf.rb
high_five-0.3.9 ext/mkrf_conf.rb
high_five-0.3.8 ext/mkrf_conf.rb
high_five-0.3.7 ext/mkrf_conf.rb
high_five-0.3.6 ext/mkrf_conf.rb
high_five-0.3.5 ext/mkrf_conf.rb
high_five-0.3.4 ext/mkrf_conf.rb