language: ruby rvm: - 2.0.0 - 1.9.3 - 1.8.7 gemfile: - Gemfile before_script: - if echo $RUBY_VERSION | grep 1.8.7 >/dev/null; then gem install json; fi