Forum: JRuby JRuby, Windows and command line wildcard expansion

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Aee77dba395ece0a04c688b05b07cd63?d=identicon&s=25 Daniel Berger (djberg96)
on 2012-06-28 20:24
(Received via mailing list)

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?


Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2012-06-29 20:43
Probably.  This may be related:
This topic is locked and can not be replied to.