Sha256: 55631d283893404a229da7e914c5a65b64cf1c0c60293393b4a414b245196e3b
Contents?: true
Size: 512 Bytes
Versions: 7
Compression:
Stored size: 512 Bytes
Contents
#!/usr/bin/env ruby update_dir = $LOAD_PATH.find { |fn| fn =~ /rubygems-update/ } if update_dir.nil? puts "Error: Cannot find RubyGems Update Path!" puts puts "RubyGems has already been updated." puts "The rubygems-update gem may now be uninstalled." puts "E.g. gem uninstall rubygems-update" else update_dir = File.dirname(update_dir) Dir.chdir update_dir update_dir =~ /([0-9.]*)$/ RGVERSION = $1 puts "Installing RubyGems #{RGVERSION}" system "ruby setup.rb #{ARGV.join(' ')}" end
Version data entries
7 entries across 7 versions & 1 rubygems