language: ruby
sudo: false
rvm:
  - 2.2.3
before_script:
  - cd example && bundle install && cd ..
env:
  - RAILS_VERSION=3.1.0
  - RAILS_VERSION=4.0.0
  - RAILS_VERSION=4.2.0
  - RAILS_VERSION=5.0.0.beta2

language: ruby
sudo: false
rvm:
  - 2.2.3
before_install:
  - cd example && bundle install && cd ..
env:
  - RAILS_VERSION=3.1.0
  - RAILS_VERSION=4.0.0
  - RAILS_VERSION=4.2.0
  - RAILS_VERSION=5.0.0.beta2

Install the example gems before installing gem gems
Install the example gems before installing gem gems