Bug #2669: mkmf find_executable doesn't find .bat files
http://redmine.ruby-lang.org/issues/show/2669

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2dev (2010-01-25 trunk 26409) [i386-mingw32]

Dunno if this was discussed already...

>> require 'mkmf'
=> true
>> find_executable('rdebug')
checking for rdebug... no
=> nil
>> find_executable('rdebug.bat')
checking for rdebug.bat... yes
=> "E:\\installs\\ruby_trunk_installed\\bin/rdebug.bat"

(to me that's a bug, since it can find .exe's but not .bat's)


----------------------------------------
http://redmine.ruby-lang.org