Update to the latest RubyGems for Travis builds

In order to obtain the fix to rubygems/rubygems#763, we need at least RubyGems v2.2.1. However the default version provided by Travis CI is v2.2.0.