Files

14 lines
386 B
Bash
Executable File

#!/bin/bash -e
source $HOME/.rvm/scripts/rvm && source .rvmrc
# install bundler if necessary
gem list --local bundler | grep bundler || gem install bundler || exit 1
# debugging info
echo USER=$USER && ruby --version && which ruby && which bundle
# conditionally install project gems from Gemfile
bundle check || bundle install || exit 1
IS_CI_BOX=true bundle exec rake jasmine:ci