Sha256: 08231f2fea161e93919a8941d1702da0199bf64fd3692c66674f90d6a43d7af4

Contents?: true

Size: 719 Bytes

Versions: 11

Compression:

Stored size: 719 Bytes

Contents

# frozen_string_literal: true
#--
# 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'] or defined? Gem
  ENV.delete 'RUBYOPT'

  require 'rbconfig'
  cmd = [RbConfig.ruby, '--disable-gems', 'setup.rb', *ARGV]

  exec(*cmd)
end

Dir.chdir File.dirname(__FILE__)

$:.unshift File.expand_path('lib')
require 'rubygems'
require 'rubygems/gem_runner'

Gem::CommandManager.instance.register_command :setup

args = ARGV.clone
if ENV["GEM_PREV_VER"]
  args = [ '--previous-version', ENV["GEM_PREV_VER"] ] + args
end
args.unshift 'setup'

Gem::GemRunner.new.run args

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rubygems-update-3.3.10 setup.rb
rubygems-update-3.3.9 setup.rb
rubygems-update-3.3.8 setup.rb
rubygems-update-3.3.7 setup.rb
rubygems-update-3.3.6 setup.rb
rubygems-update-3.3.5 setup.rb
rubygems-update-3.3.4 setup.rb
rubygems-update-3.3.3 setup.rb
rubygems-update-3.3.2 setup.rb
rubygems-update-3.3.1 setup.rb
rubygems-update-3.3.0 setup.rb