bin/autoproj_bootstrap in autoproj-1.7.21.b6 vs bin/autoproj_bootstrap in autoproj-1.7.21.b7

- old
+ new

@@ -31,11 +31,11 @@ needed_gem_home = ENV['AUTOPROJ_GEM_HOME'] || "#{Dir.pwd}/.gems" if $LOADED_FEATURES.find { |str| str =~ /bygems/ } if ENV['GEM_HOME'] != needed_gem_home require 'rbconfig' - RUBY = Config::CONFIG['RUBY_INSTALL_NAME'] + RUBY = RbConfig::CONFIG['RUBY_INSTALL_NAME'] ENV['GEM_HOME'] = needed_gem_home exec RUBY, __FILE__, *ARGV end end @@ -343,10 +343,10 @@ def guess_gem_program if Autobuild.programs['gem'] return Autobuild.programs['gem'] end - ruby_bin = Config::CONFIG['RUBY_INSTALL_NAME'] + ruby_bin = RbConfig::CONFIG['RUBY_INSTALL_NAME'] if ruby_bin =~ /^ruby(.+)$/ Autobuild.programs['gem'] = "gem#{$1}" else Autobuild.programs['gem'] = "gem" end