Fixes Travis-CI builds. See rubygems/rubygems#763 for details.