Sha256: aceb1c779e32c705b5f3d2eb5f6c50207b477aa6d07edd64194f2c81c8232f50
Contents?: true
Size: 704 Bytes
Versions: 1
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"] or 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubygems-update-3.3.19 | setup.rb |