From 04b8ad1ae3874e3ae90bb47d7a6cdc2b3a2db5c3 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin <jen-shin@gitlab.com> Date: Wed, 1 Sep 2021 19:30:38 +0800 Subject: [PATCH] Use jh/Gemfile if it exists --- scripts/utils.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index 700dad5877941..d2e8c15143834 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -37,8 +37,9 @@ function bundle_install_script() { fi; bundle --version - bundle config set path 'vendor' + bundle config set path "$(pwd)/vendor" bundle config set clean 'true' + test -d jh && bundle config set gemfile 'jh/Gemfile' echo "${BUNDLE_WITHOUT}" bundle config -- GitLab