work around RubyGems 2.2.0 breaking ruby 1.8.7

Per request in #339.