From 221c808a04b490a07123fa44b8630c2f712f5977 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Wed, 16 Mar 2022 08:42:56 -0400 Subject: [PATCH] 18766: deal with deprecation warnings for our bundler invocation. Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- build/run-library.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/run-library.sh b/build/run-library.sh index 0257e65241..fa2be6ac7a 100755 --- a/build/run-library.sh +++ b/build/run-library.sh @@ -492,7 +492,8 @@ handle_rails_package() { cd "$srcdir" mkdir -p tmp git rev-parse HEAD >git-commit.version - bundle package --all + bundle config set cache_all true + bundle package ) if [[ 0 != "$?" ]] || ! cd "$WORKSPACE/packages/$TARGET"; then echo "ERROR: $pkgname package prep failed" >&2 @@ -603,7 +604,8 @@ handle_workbench () { # We need to bundle to be ready even when we build a package without vendor directory # because asset compilation requires it. - bundle install --system >"$STDOUT_IF_DEBUG" + bundle config set --local system 'true' >"$STDOUT_IF_DEBUG" + bundle install >"$STDOUT_IF_DEBUG" # clear the tmp directory; the asset generation step will recreate tmp/cache/assets, # and we want that in the package, so it's easier to not exclude the tmp directory -- 2.30.2