rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0

gemfile:
  - Gemfile
  - gemfiles/mongoid-2.4.gemfile
  - gemfiles/mongoid-master.gemfile

services: mongodb

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0

before_install: gem install bundler --pre

gemfile:
  - Gemfile
  - gemfiles/mongoid-2.4.gemfile
  - gemfiles/mongoid-master.gemfile

services: mongodb

Use the latest version of Bundler
Use the latest version of Bundler