script/source-setup/bundler in licensed-1.0.1 vs script/source-setup/bundler in licensed-1.1.0
- old
+ new
@@ -11,6 +11,10 @@
cd $BASE_PATH/test/fixtures/bundler
# unset any pre-existing gemfile when installing test fixtures
unset BUNDLE_GEMFILE
-bundle install --path $BASE_PATH/test/fixtures/bundler/vendor/gems
+if [ "$1" == "-f" ]; then
+ find . -not -regex "\.*" -and -not -name "Gemfile" -print0 | xargs -0 rm -rf
+fi
+
+bundle install --path vendor/gems