language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.5
  - 2.2.1
  - 2.2.2
  - jruby-19mode
  - rbx-19mode
script: 'bundle exec rspec'
matrix:
  allow_failures:
    - rvm: jruby-19mode
    - rvm: rbx-19mode

language: ruby
before_install:
  - gem install bundler
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.5
  - 2.2.1
  - 2.2.2
  - jruby-19mode
  - rbx-19mode
script: 'bundle exec rspec'
matrix:
  allow_failures:
    - rvm: jruby-19mode
    - rvm: rbx-19mode

Add bundler update to work around build issues
Add bundler update to work around build issues

The current version of bundler used on travis causes the following error
NoMethodError: undefined methodspec' for nil:NilClass`

This is a fairly well understood issue, discussed here:
* https://github.com/travis-ci/travis-ci/issues/5239
* https://github.com/bundler/bundler/issues/3558
