diff --git a/ChangeLog b/ChangeLog index 894ea9e2e7..fc9fc3ce75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 29 17:02:07 2005 Tanaka Akira + + * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of + "miniruby". [ruby-dev:28140] + Thu Dec 29 11:22:34 2005 Hirokazu Yamamoto * lib/generator.rb: reimplemented Generator class with Thread instead of diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 09c8e3f7f4..cd9ad3c858 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -3,12 +3,12 @@ module EnvUtil if ruby = ENV["RUBY"] return ruby end - miniruby = "miniruby" + ruby = "ruby" 3.times do - if File.exist? miniruby or File.exist? miniruby+".exe" - return File.expand_path(miniruby) + if File.exist? ruby or File.exist? ruby+".exe" + return File.expand_path(ruby) end - miniruby = File.join("..", miniruby) + ruby = File.join("..", ruby) end begin require "rbconfig"