Sha256: 70a83fae1202635b433606e459dee5065324f629008fa0677cdae9a9c02826d1

Contents?: true

Size: 913 Bytes

Versions: 7

Compression:

Stored size: 913 Bytes

Contents

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

Dir.chdir File.dirname(__FILE__)

# Make sure rubygems isn't already loaded.
if defined?(Gem)
  ENV.delete 'RUBYOPT'
  
  ENV['RUBYOPT'] = '--disable-gems' if RUBY_VERSION >= '1.9'
  ENV['GEM_BOOTSTRAP'] = 'true' unless defined?(Gem::NAME)

  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

$:.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

7 entries across 7 versions & 1 rubygems

Version Path
slimgems-1.3.9.5 setup.rb
slimgems-1.3.9.4 setup.rb
slimgems-1.3.9.3 setup.rb
slimgems-1.3.9.2 setup.rb
slimgems-1.3.9.1 setup.rb
slimgems-1.3.9 setup.rb
slimgems-1.3.8 setup.rb