JRuby, Windows and command line wildcard expansion

Hi,

I hit this recently while attempting to use the Rake::TestTask#loader

  • ‘direct’ option:

c:\Users\djberge\Repositories\win32-sound>jruby -Ilib test/test*.rb
Error opening script file:
c:/Users/djberge/Repositories/win32-sound/test/test*.rb (The filename,
directory name, or volume label syntax is incorrect)

It looks like JRuby is looking for a literal “test*.rb” instead of
expanding it. It works fine with MRI, though.

Quoting the args doesn’t matter either, btw.

This looks like a bug to me. Is it?

Regards,

Dan

Probably. This may be related:
http://jira.codehaus.org/browse/JRUBY-4527