Sha256: f148b9ea1d6512036be67f6d2faa567ccb3940021116b306a65fdf7e7f5fb6df

Contents?: true

Size: 786 Bytes

Versions: 5

Compression:

Stored size: 786 Bytes

Contents

#!/usr/bin/env ruby
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++

require 'rubygems'
require 'rubygems/gem_runner'
require 'rubygems/exceptions'

required_version = Gem::Requirement.new "> 1.8.3"

unless required_version.satisfied_by? Gem.ruby_version then
  abort "Expected Ruby Version #{required_version}, was #{Gem.ruby_version}"
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("--")]

begin
  Gem::GemRunner.new.run args
rescue Gem::SystemExitException => e
  exit e.exit_code
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubygems-update-1.1.0 bin/gem
rubygems-update-1.1.1 bin/gem
rubygems-update-1.3.0 bin/gem
rubygems-update-1.3.1 bin/gem
rubygems-update-1.2.0 bin/gem