#!/bin/bash -x echo 'loading bashrc' source ~/.bashrc echo 'activating gemset' rvm use "$(cat .ruby-version)"@"$(cat .ruby-gemset)" --create echo 'installing gems' bundle install echo 'running tests' bundle exec rake ci RAILS_ENV=test --trace