Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1
-
Fix Version/s: JRuby 1.1.2
-
Component/s: None
-
Labels:None
-
Environment:Latest JRuby 1.1.1
-
Number of attachments :
Description
This is a placeholder for rubygems issue, when ruby executable name detected incorrectly on Windows for JRuby: jruby.bat.exe
See lib/ruby/site_ruby/1.8/rubygems.rb, self.ruby:
@ruby = File.join(ConfigMap[:bindir],
ConfigMap[:ruby_install_name])
@ruby << ConfigMap[:EXEEXT]
The first line gets "jruby.bat" and the second line appends ".exe".
This leads to content of rake.bat as follows:
@"jruby.bat.exe" "D:/work/jruby-dev/jruby/bin/rake" %1 %2 %3 %4 %5 %6 %7 %8 %9
And this doesn't work.
Fixed in r6809 by disabling the EXEEXT appending. I have filed this bug with RubyGems to hopefully get a more permanent fix:
http://rubyforge.org/tracker/index.php?func=detail&aid=20380&group_id=126&atid=575