summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 12:25:23 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 12:25:23 +0000
commitd5bfa31f824005f7a8ce6c2bae1fafd2461aad80 (patch)
treefdca7086d1fbaa6020750c6f8e19b7ed73026e6b /benchmark
parent587082d57cb4bbf8255239c36cafd253978f87fa (diff)
* runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
* spec/default.mspec: ditto. * yarvtest/yarvtest.rb: ditto. * instruby.rb: ditto. * benchmark/report.rb: ditto. * benchmark/runc.rb: ditto. * tool/eval.rb: ditto. * test/rubygems/test_gem.rb: ditto. * test/rubygems/test_config.rb: ditto. * test/rubygems/test_gem_platform.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/report.rb4
-rw-r--r--benchmark/runc.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/benchmark/report.rb b/benchmark/report.rb
index 8305330..e931966 100644
--- a/benchmark/report.rb
+++ b/benchmark/report.rb
@@ -25,8 +25,8 @@ end
def benchmark cmd
rubybin = ENV['RUBY'] || File.join(
- Config::CONFIG["bindir"],
- Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"])
+ RbConfig::CONFIG["bindir"],
+ RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"])
IO.popen(rubybin, 'r+'){|io|
io.write cmd
diff --git a/benchmark/runc.rb b/benchmark/runc.rb
index 14ab171..ec1d36a 100644
--- a/benchmark/runc.rb
+++ b/benchmark/runc.rb
@@ -6,8 +6,8 @@ require 'benchmark'
require 'rbconfig'
$rubybin = ENV['RUBY'] || File.join(
- Config::CONFIG["bindir"],
- Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"])
+ RbConfig::CONFIG["bindir"],
+ RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"])
def runfile file
puts file