On Sat, Nov 1, 2008 at 4:26 PM, Jim Weirich <[EMAIL PROTECTED]> wrote:
> jimweirich-rake-0.8.3.99 is available on GitHub.  This is the release
> candidate for rake 0.8.4.  I'll give folks a day to kick the tires and
> release it tomorrow (pending the resolution of Luis's system questions).
>

There are two approaches to this problem.

1) Modify RakeFileUtils::RUBY defintion to include EXEEXT.
2) Modify system() in ruby to properly find executables without extension.

The first one is easy, and fixing this will also fix the skipped test
for Rake. But this will introduce issues for Rake on JRuby since it
will be adding ".exe" under Windows to already "ruby_install_name"

[EMAIL PROTECTED] (D:\Users\Luis)
$ jirb
irb(main):001:0> require 'rbconfig'
=> true
irb(main):002:0> RbConfig::CONFIG['bindir']
=> "D:/Users/Luis/ruby/jruby-1.1.4/bin"
irb(main):003:0> RbConfig::CONFIG['ruby_install_name']
=> "jruby.bat"
irb(main):004:0> RbConfig::CONFIG['EXEEXT']
=> ".exe"

The second one is more complicated, as you may know ruby-core is
really reluctant to introduce changes and not all the users will
benefit from this.

I'm open to suggestions.

Regards,
-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to