Sha256: 288047c4f305cff03165c7c7dd791f6119f46db4b4cf3f061c64cca8a62823de

Contents?: true

Size: 564 Bytes

Versions: 5

Compression:

Stored size: 564 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
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

5 entries across 5 versions & 1 rubygems

Version Path
rubygems-update-0.8.10 bin/gem
rubygems-update-0.8.5 bin/gem
rubygems-update-0.8.6 bin/gem
rubygems-update-0.8.8 bin/gem
rubygems-update-0.8.11 bin/gem