bug in rubygems 2.2.0 breaks builds for ruby 1.8.7

See travis-ci/travis-ci#1793