diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/envutil.rb | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Thu Dec 29 17:02:07 2005 Tanaka Akira <akr@m17n.org> + + * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of + "miniruby". [ruby-dev:28140] + Tue Dec 27 08:29:18 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_chech): diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 09c8e3f7f..cd9ad3c85 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" |