Hi,
OK, can reproduce the problem with the latest JRuby from master branch.
The problem is that Rake on Windows uses a rather weird way to launch
ruby to execute tests, specifically: “call path_to_ruby …”. In this
special case, when the first entry is ‘call’, JRuby’s in-process
launching magic doesn’t work, since it works only when the first
parameter is some kind of ruby, not ‘call’.
Not sure how to proceed here. We probably could hack-up some solution
to add ‘call’ case to in-process detection magic, but this feels
really hacky solution… Any opinions?
Alternatively, one could submit some patch to Rake itself, but again,
not clear what that could be. Running rake in such a weird envirenment
like from within jruby-complete.jar on Windows won’t probably be
significant enough to change Rake…
The only workaround on Windows at the moment is to use proper JRuby,
not jruby-complete.jar…
Any suggestions are welcome!
The code in question is in Rake’s lib/rake/alt_system.rb, method
repair_command().
Thanks,
–Vladimir
On Mon, Feb 1, 2010 at 10:37 PM, Homer S. [email protected]
wrote:
Please take a look at: http://jira.codehaus.org/browse/JRUBY-4238
–Vladimir
–
Posted via http://www.ruby-forum.com/.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email