diff --git a/bin/run-superuser-tests b/bin/run-superuser-tests index 9c65c41..9388581 100755 --- a/bin/run-superuser-tests +++ b/bin/run-superuser-tests @@ -16,7 +16,7 @@ run_test() ## # main if [ "$(id -u)" = "0" ]; then - rake clean clobber compile + bundle exec rake clean clobber compile rm -rf tmp/ for file in test/superuser/*_test.rb; do logfile=".runner.log_$(basename ${file})" diff --git a/bin/run-unprivileged-tests b/bin/run-unprivileged-tests index ff4faa1..eca4ba3 100755 --- a/bin/run-unprivileged-tests +++ b/bin/run-unprivileged-tests @@ -16,7 +16,7 @@ run_test() ## # main if [ "$(id -u)" != "0" ]; then - rake clean clobber compile + bundle exec rake clean clobber compile for file in test/unprivileged/*_test.rb; do logfile=".runner.log_$(basename ${file})" if run_test "${file}" "${logfile}"; then