Deal with travis and bundler issues.

- https://github.com/travis-ci/travis-ci/issues/2220
- https://github.com/bundler/bundler/issues/3004