Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # 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
Add Comment
Please, Sign In to add comment