Sha256: 8d58cd119c2392dece4cba6b489c11a220429d559fc867245f7377dd2207b8e0

Contents?: true

Size: 596 Bytes

Versions: 1

Compression:

Stored size: 596 Bytes

Contents

#
#  http://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
#
require 'rubygems'
require 'rubygems/command.rb'
require 'rubygems/dependency_installer.rb'
begin
  Gem::Command.build_args = ARGV
rescue NoMethodError
end
inst = Gem::DependencyInstaller.new
begin
  if RUBY_PLATFORM =~ /win32/
    inst.install 'win32console'
  end
rescue
  exit(1)
end

# create dummy rakefile to indicate success
f = File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w')
f.write("task :default\n")
f.close

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tree.rb-0.3.13 ext/mkrf_conf.rb