should fix https://github.com/rubygems/rubygems/issues/679