From c0b4e90f08a188430c17e5668603704906292088 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 31 Dec 2009 15:00:04 +0000 Subject: * tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb. * lib/webrick/httpservlet/cgihandler.rb: use RbConfig.ruby. * test/ruby/envutil.rb: ditto. * benchmark/report.rb: ditto. * benchmark/runc.rb: ditto. * tool/eval.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/runc.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'benchmark/runc.rb') diff --git a/benchmark/runc.rb b/benchmark/runc.rb index ec1d36a61b..97c5cef045 100644 --- a/benchmark/runc.rb +++ b/benchmark/runc.rb @@ -5,9 +5,7 @@ require 'benchmark' require 'rbconfig' -$rubybin = ENV['RUBY'] || File.join( - RbConfig::CONFIG["bindir"], - RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"]) +$rubybin = ENV['RUBY'] || RbConfig.ruby def runfile file puts file -- cgit v1.2.3