Sha256: ae2c815ac3b0286922b59f2ad302321290acd9e94d2c43e1baa6302c92afaacf

Contents?: true

Size: 557 Bytes

Versions: 5

Compression:

Stored size: 557 Bytes

Contents

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_VERSION < "1.9" # need the helper
      inst.install "faster_rubygems"
    end
  rescue => e
    puts 'failed' + e + ' ' + e.backtrace.join(' ')
      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

5 entries across 5 versions & 1 rubygems

Version Path
faster_gem_script-0.3.2 ext/mkrf_conf.rb
faster_gem_script-0.3.0 ext/mkrf_conf.rb
faster_gem_script-0.2.1 ext/mkrf_conf.rb
faster_gem_script-0.2.0 ext/mkrf_conf.rb
faster_gem_script-0.1.6 ext/mkrf_conf.rb