http://bugs.winehq.org/show_bug.cgi?id=10649
--- Comment #4 from Sam Dennis samuel.howard.dennis@gmail.com 2007-12-02 17:21:24 --- Created an attachment (id=9466) --> (http://bugs.winehq.org/attachment.cgi?id=9466) Test case for problem
It will work on Windows, the problem is that the early type setting change was presumably to match some undocumented behaviour too and not knowing exactly what that behaviour was, I can't test that.
I've written a test case for this anyway (fairly messy, evidently my coding hasn't improved much since I wrote the gem in question), but the fix depends on what Windows returns in type for error cases other than a non-existent value.