language: node_js
node_js:
  - "0.11"
  - "0.10"
matrix:
  allow_failures:
    - node_js: "0.11"
before_install: 
  - rvm use 1.9.3
  - gem install bundler
install:
  - npm install -g grunt-cli@0.1.9
  - npm install
  - bundle install
notifications:
  email: false
cache:
  bundler: true
  directories:
    - node_modules
branches:
  except:
    - release

language: node_js
node_js:
  - "0.11"
  - "0.10"
matrix:
  allow_failures:
    - node_js: "0.11"
before_install:
  - rvm use 1.9.3
  - gem install bundler
install:
  - bundle install
  - npm install -g grunt-cli@0.1.9
  - npm install
notifications:
  email: false
cache:
  bundler: true
  directories:
    - node_modules
branches:
  except:
    - release

Install gems before node modules on Travis
Install gems before node modules on Travis

`bundle install` fails all the time on Travis, so there's no point
doing an `npm install` first. Fail fast!

...or find a CI system that works.
