Rubygems under JRuby detects the ruby executable name incorrectly on Windows
----------------------------------------------------------------------------
Key: JRUBY-2432
URL: http://jira.codehaus.org/browse/JRUBY-2432
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1
Environment: Latest JRuby 1.1.1
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.1.1
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:
{noformat}
@ruby = File.join(ConfigMap[:bindir],
ConfigMap[:ruby_install_name])
@ruby << ConfigMap[:EXEEXT]
{noformat}
The first line gets "jruby.bat" and the second line appends ".exe".
This leads to content of rake.bat as follows:
{noformat}
@"jruby.bat.exe" "D:/work/jruby-dev/jruby/bin/rake" %1 %2 %3 %4 %5 %6 %7 %8 %9
{noformat}
And this doesn't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email