Sha256: ca937875a629cdec2bf41a6d37120196ae2800674a49ae0a6ddeff663a34bedd
Contents?: true
Size: 798 Bytes
Versions: 61
Compression:
Stored size: 798 Bytes
Contents
#! /usr/bin/ruby1.8 #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. # /usr/bin/gem is broken, so... have to use this until it is fixed #++ require "rubygems" require "rubygems/gem_runner" Gem.manage_gems required_version = Gem::Version::Requirement.new(">= 1.8.0") unless required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION)) puts "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}" exit(1) end # We need to preserve the original ARGV to use for passing gem options # to source gems. If there is a -- in the line, strip all options after # it...its for the source building process. args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] Gem::GemRunner.new.run(args)
Version data entries
61 entries across 61 versions & 2 rubygems