Sha256: d905191839ee710b12d66c0eabcdf86d49ba1662fa088b152f220913b0922f36
Contents?: true
Size: 649 Bytes
Versions: 5
Compression:
Stored size: 649 Bytes
Contents
#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. #++ 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
5 entries across 5 versions & 1 rubygems