JRuby is failing in weird ways that I can't be bothered to reproduce.  Use MRI.