Commit f9bae3c4 by Ben Patterson

Ensure no old gems are left behind between test runs.

parent 54e1faea
...@@ -58,7 +58,9 @@ if [ -e $HOME/edx-rbenv_clean.tar.gz ]; then ...@@ -58,7 +58,9 @@ if [ -e $HOME/edx-rbenv_clean.tar.gz ]; then
tar -C $HOME -xf $HOME/edx-rbenv_clean.tar.gz tar -C $HOME -xf $HOME/edx-rbenv_clean.tar.gz
fi 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 bundle install
# Reset the jenkins worker's virtualenv back to the # Reset the jenkins worker's virtualenv back to the
......
...@@ -66,7 +66,9 @@ if [ -e $HOME/edx-rbenv_clean.tar.gz ]; then ...@@ -66,7 +66,9 @@ if [ -e $HOME/edx-rbenv_clean.tar.gz ]; then
tar -C $HOME -xf $HOME/edx-rbenv_clean.tar.gz tar -C $HOME -xf $HOME/edx-rbenv_clean.tar.gz
fi 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 bundle install
# Reset the jenkins worker's virtualenv back to the # Reset the jenkins worker's virtualenv back to the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment