Sha256: 9b6fc300db8c8d6e9878c20495affd08aa84f0c8b2ac33fce8d23946b22c6043

Contents?: true

Size: 596 Bytes

Versions: 9

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

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

9 entries across 9 versions & 1 rubygems

Version Path
tree.rb-0.3.12 ext/mkrf_conf.rb
tree.rb-0.3.11 ext/mkrf_conf.rb
tree.rb-0.3.10 ext/mkrf_conf.rb
tree.rb-0.3.9 ext/mkrf_conf.rb
tree.rb-0.3.8 ext/mkrf_conf.rb
tree.rb-0.3.7 ext/mkrf_conf.rb
tree.rb-0.3.6 ext/mkrf_conf.rb
tree.rb-0.3.5 ext/mkrf_conf.rb
tree.rb-0.3.4 ext/mkrf_conf.rb