summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/envutil.rb8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8395e7fb5..d6254c178 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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"