Forum: JRuby JRuby, Windows and command line wildcard expansion

Aee77dba395ece0a04c688b05b07cd63?d=identicon&s=25 Daniel Berger (djberg96)
on 2012-06-28 20:24
(Received via mailing list)
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
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2012-06-29 20:43
Probably.  This may be related:
http://jira.codehaus.org/browse/JRUBY-4527
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.