Rubygems installs non-functioning BAT files on Windows ------------------------------------------------------
Key: JRUBY-2598 URL: http://jira.codehaus.org/browse/JRUBY-2598 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.1.2 Environment: Latest JRuby 1.1.2 Reporter: Vladimir Sizikov Assignee: Vladimir Sizikov Priority: Critical Fix For: JRuby 1.1.3 Currently, (after tweaks we've done in JRuby 1.1.2), rubygems does install BAT files on windows, but the content of those BAT files is not optimal and makes it impossible to launch them: For exampel, install rake or rspec and then try to execute rake.bat or spec.bat: D:\work\jruby-dev\jruby-new-test>spec.bat '"D:\work\jruby-dev\jruby-new-test\_jrubyvars"' is not recognized as an internal or external command, operable program or batch file. "" was unexpected at this time. The problem is that "jruby.bat" is used the BAT files, and we really need a full path to the jruby.bat, then it works. Some changes in rubyspecs (rev. r1648) changed the content of BAT launcher scripts, and instead of full path, only basename is provided. -- 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