From 058b978f6798a58c5599c46665185e3603e7cc06 Mon Sep 17 00:00:00 2001 From: Zachary Knight Date: Wed, 24 Jul 2019 13:58:45 +0000 Subject: Upgraded docker license finder --- run.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index 0ce0266..019d087 100755 --- a/run.sh +++ b/run.sh @@ -95,9 +95,6 @@ case "$COMMAND" in analyze) # Analyze project - # Load RVM - source /rvm.sh - # Change current directory to the project path. APP_PATH=$1 shift @@ -112,7 +109,9 @@ case "$COMMAND" in # So we ignore the error. $($rvm_recommended_ruby) 2>/dev/null || true rvm use . - gem install bundler + # rvm pulls outdated gems + # need this to update system bundler + gem update --system # We need to install the license_finder gem into this Ruby version too. gem install license_finder -v "$LICENSE_FINDER_VERSION" fi @@ -120,7 +119,7 @@ case "$COMMAND" in # Ignore test and development dependencies. license_finder ignored_groups add development license_finder ignored_groups add test - bundle install --without "development test" + bundle install skip_prepare=true fi -- cgit v1.2.3