Update rubygems before running on travis

See https://github.com/bundler/bundler/issues/2784 and https://github.com/travis-ci/travis-ci/issues/1793 for more context.