#!/bin/bash -x
source '/usr/local/lib/rvm'
export GEM_HOME="/home/jenkins/bundles/${JOB_NAME}"
mkdir -p "${GEM_HOME}"
bundle install && bundle exec rake
#!/bin/bash -x
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
bundle exec rake

Remove RVM from build script.
Remove RVM from build script.
