Fix Gem.ruby singleton method on Windows
Merge pull request #1448 from GregMefford/patch-2

Fix Gem.ruby singleton method on Windows