language: ruby
before_install: gem install bundler
bundler_args: --without guard metrics
rvm:
  - 1.9.3
  - 2.0.0
  - ruby-head
branches:
  only: master
notifications:
  email: api@rev.com
language: ruby
before_install: gem install bundler
bundler_args: --without guard metrics
rvm:
  - 1.9.3
  - 2.0.0
branches:
  only: master
notifications:
  email: api@rev.com
Disable ruby-head build because of bundler error
Disable ruby-head build because of bundler error

$ gem query --local | grep bundler >/dev/null || gem install bundler
ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - no such
name (https://rubygems.org/latest_specs.4.8.gz)
The command "gem install bundler" failed and exited with 2 during setup.
Your build has been stopped.

See https://github.com/travis-ci/travis-ci/issues/1195.
