Commit 049e9f0d by Ben Patterson

Merge pull request #3919 from edx/benpatterson/clean-up-rbenv

Ensure no old gems are left behind between test runs.
parents e348ab9a 1b67aebb
...@@ -61,6 +61,9 @@ fi ...@@ -61,6 +61,9 @@ fi
# Bootstrap Ruby requirements so we can run the tests # Bootstrap Ruby requirements so we can run the tests
bundle install bundle install
# Ensure the Ruby environment contains no stray gems
bundle clean --force
# Reset the jenkins worker's virtualenv back to the # Reset the jenkins worker's virtualenv back to the
# state it was in when the instance was spun up. # state it was in when the instance was spun up.
if [ -e $HOME/edx-venv_clean.tar.gz ]; then if [ -e $HOME/edx-venv_clean.tar.gz ]; then
......
...@@ -69,6 +69,9 @@ fi ...@@ -69,6 +69,9 @@ fi
# Bootstrap Ruby requirements so we can run the tests # Bootstrap Ruby requirements so we can run the tests
bundle install bundle install
# Ensure the Ruby environment contains no stray gems
bundle clean --force
# Reset the jenkins worker's virtualenv back to the # Reset the jenkins worker's virtualenv back to the
# state it was in when the instance was spun up. # state it was in when the instance was spun up.
if [ -e $HOME/edx-venv_clean.tar.gz ]; then if [ -e $HOME/edx-venv_clean.tar.gz ]; then
......
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