Sha256: 536c4bef1996394b2367374239553eaab896005cf1c0c9524fe6042a78be8b40

Contents?: true

Size: 813 Bytes

Versions: 20

Compression:

Stored size: 813 Bytes

Contents

#--
# Copyright 2006, 2007 by Chad Fowler, Rich Kilmer, Jim Weirich, Eric Hodel
# and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++

# Make sure rubygems isn't already loaded.
if ENV['RUBYOPT'] and defined? Gem then
  ENV.delete 'RUBYOPT'

  require 'rbconfig'
  config = defined?(RbConfig) ? RbConfig : Config

  ruby = File.join config::CONFIG['bindir'], config::CONFIG['ruby_install_name']
  ruby << config::CONFIG['EXEEXT']

  exec(ruby, 'setup.rb', *ARGV)
end

Dir.chdir File.dirname(__FILE__)

$:.unshift 'lib'
require 'rubygems'
require 'rubygems/gem_runner'
require 'rubygems/exceptions'

Gem::CommandManager.instance.register_command :setup

args = ARGV.clone

args.unshift 'setup'

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rubygems-update-1.8.1 setup.rb
rubygems-update-1.8.0 setup.rb
rubygems-update-1.7.2 setup.rb
rubygems-update-1.7.1 setup.rb
rubygems-update-1.7.0 setup.rb
rubygems-update-1.6.2 setup.rb
rubygems-update-1.6.1 setup.rb
rubygems-update-1.6.0 setup.rb
rubygems-update-1.5.3 setup.rb
rubygems-update-1.5.2 setup.rb
rubygems-update-1.5.0 setup.rb
rubygems-update-1.4.2 setup.rb
rubygems-update-1.4.1 setup.rb
rubygems-update-1.4.0 setup.rb
rubygems-update-1.3.7 setup.rb
rubygems-update-1.3.6 setup.rb
rubygems-update-1.3.5 setup.rb
rubygems-update-1.3.3 setup.rb
rubygems-update-1.3.2 setup.rb
rubygems-update-1.3.4 setup.rb