diff options
Diffstat (limited to 'tool/eval.rb')
-rwxr-xr-x | tool/eval.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tool/eval.rb b/tool/eval.rb index db6d11cddd..f7299c8b95 100755 --- a/tool/eval.rb +++ b/tool/eval.rb @@ -3,9 +3,7 @@ require 'rbconfig' require 'fileutils' require 'pp' -Ruby = ENV['RUBY'] || - File.join(RbConfig::CONFIG["bindir"], - RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"]) +Ruby = ENV['RUBY'] || RbConfig.ruby # OPTIONS = %w{ |