#!/bin/bash SCRIPT_DIR=$(dirname "$(readlink -f $0)") pushd ${SCRIPT_DIR} > /dev/null export TEST_COVERAGE=1 bundle exec rake spec STATUS=$? popd > /dev/null exit ${STATUS}