set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables

cd uaac

bundle_cmd=/var/vcap/packages/ruby/bin/bundle

$bundle_cmd install --local --deployment --binstubs

cp -r .bundle vendor bin Gemfile* ${BOSH_INSTALL_TARGET}
