1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2008-05-12 12:35:37 +00:00
parent d34ad36c52
commit e67e71d36a
2 changed files with 6 additions and 1 deletions

View file

@ -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;

View file

@ -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