Create a gist now

Instantly share code, notes, and snippets.

# source main profile to get at LD_LIBRARY_PATH (lame-ass hack for oracle instantclient
source /etc/profile
# source the rvm environment
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
# use correct ruby@gemset
rvm use "$build_ruby@${JOB_NAME}"
# empty gemset and force a full bundle install
rvm --force gemset empty && bundle install || exit 10
# copy over sample database.yml to config databases
cp -f config/database.sample.yml config/database.yml
# load up the test database
rake db:migrate db:test:load || exit 11
time rake spec cucumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment