services: mongodb
language: ruby
rvm:
  - 1.9.3
  - 2.1.7
  - 2.2.3
  - jruby-19mode

gemfile:
  - Gemfile

services: mongodb
language: ruby
rvm:
  - 1.9.3
  - 2.1.7
  - 2.2.3
  - jruby-19mode
before_install:
  - gem update --system
  - gem update bundler
gemfile:
  - Gemfile

Fix for failing build on ruby 1.9.3
Fix for failing build on ruby 1.9.3

It seems that travis's using outdated bundler. Updating it before run
should fix the issue. More details: https://github.com/rubygems/rubygems/issues/1419
