Ensure no old gems are left behind between test runs.

This commit is contained in:
Ben Patterson
2014-05-28 20:47:13 -04:00
parent 54e1faea47
commit f9bae3c420
2 changed files with 6 additions and 2 deletions

View File

@@ -58,7 +58,9 @@ if [ -e $HOME/edx-rbenv_clean.tar.gz ]; then
tar -C $HOME -xf $HOME/edx-rbenv_clean.tar.gz
fi
# Bootstrap Ruby requirements so we can run the tests
# Ensure the Ruby environment is in a clean state and
# bootstrap Ruby requirements so we can run the tests
bundle clean --force
bundle install
# Reset the jenkins worker's virtualenv back to the

View File

@@ -66,7 +66,9 @@ if [ -e $HOME/edx-rbenv_clean.tar.gz ]; then
tar -C $HOME -xf $HOME/edx-rbenv_clean.tar.gz
fi
# Bootstrap Ruby requirements so we can run the tests
# Ensure the Ruby environment is in a clean state and
# bootstrap Ruby requirements so we can run the tests
bundle clean --force
bundle install
# Reset the jenkins worker's virtualenv back to the