summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 12:35:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 12:35:37 +0000
commite67e71d36ad07e53277225ccb768d61bf0569a16 (patch)
tree9ffd20401a273f5fe51dde3a5ec3d8fde6c2d927
parentd34ad36c52ad753e2cc01fb0e23144d77e9daa1f (diff)
* test/ruby/envutil.rb (rubybin): return expanded rubyexe instead of
expanded ruby if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/envutil.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f5e7b0c..83899ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 12 21:34:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * test/ruby/envutil.rb (rubybin): return expanded rubyexe instead of
+ expanded ruby if available.
+
Mon May 12 20:19:55 2008 Akinori MUSHA <knu@iDaemons.org>
* enum.c (grep_i): Be aware of multiple values;
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index 35aad6d..bc9a2fa 100644
--- a/test/ruby/envutil.rb
+++ b/test/ruby/envutil.rb
@@ -16,7 +16,7 @@ module EnvUtil
return File.expand_path(ruby)
end
if File.exist? rubyexe and File.executable? rubyexe
- return File.expand_path(ruby)
+ return File.expand_path(rubyexe)
end
ruby = File.join("..", ruby)
end