Remove Gemfile.lock for experimental puppet unit-test
Make sure any existing Gemfile.lock files are removed before running bundler again. Change-Id: I01b20adcaf712681d0b1e274a0b34389179e307a Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
if [ "$PUPPET_VERSION" != "latest" ]; then
|
if [ "$PUPPET_VERSION" != "latest" ]; then
|
||||||
export PUPPET_GEM_VERSION="~> $PUPPET_VERSION.0"
|
export PUPPET_GEM_VERSION="~> $PUPPET_VERSION.0"
|
||||||
fi
|
fi
|
||||||
|
rm -f Gemfile.lock
|
||||||
mkdir .bundled_gems_$PUPPET_VERSION
|
mkdir .bundled_gems_$PUPPET_VERSION
|
||||||
export GEM_HOME=`pwd`/.bundled_gems_$PUPPET_VERSION
|
export GEM_HOME=`pwd`/.bundled_gems_$PUPPET_VERSION
|
||||||
gem install bundler --no-rdoc --no-ri --verbose
|
gem install bundler --no-rdoc --no-ri --verbose
|
||||||
|
Reference in New Issue
Block a user