Sha256: 2b79286e2c0a9a251256cdb391f762d31169be1bb0e202514fcd36696440ca35

Contents?: true

Size: 704 Bytes

Versions: 26

Compression:

Stored size: 704 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"] || defined? Gem
  ENV.delete "RUBYOPT"

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

  exec(*cmd)
end

Dir.chdir __dir__

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

26 entries across 26 versions & 1 rubygems

Version Path
rubygems-update-3.3.27 setup.rb
rubygems-update-3.4.17 setup.rb
rubygems-update-3.4.16 setup.rb
rubygems-update-3.4.15 setup.rb
rubygems-update-3.4.14 setup.rb
rubygems-update-3.4.13 setup.rb
rubygems-update-3.4.12 setup.rb
rubygems-update-3.4.11 setup.rb
rubygems-update-3.4.10 setup.rb
rubygems-update-3.4.9 setup.rb
rubygems-update-3.4.8 setup.rb
rubygems-update-3.4.7 setup.rb
rubygems-update-3.4.6 setup.rb
rubygems-update-3.4.5 setup.rb
rubygems-update-3.4.4 setup.rb
rubygems-update-3.4.3 setup.rb
rubygems-update-3.4.2 setup.rb
rubygems-update-3.4.1 setup.rb
rubygems-update-3.4.0 setup.rb
rubygems-update-3.3.26 setup.rb