From 02bf47bdd96d3a4ff654d05daf306cf92a91dab6 Mon Sep 17 00:00:00 2001 From: Jonathan Cormier Date: Tue, 9 Apr 2024 15:38:15 -0400 Subject: [PATCH] Set GEM_HOME and BUNDLE_APP_CONFIG for redmine cronjobs Issue #553 --- assets/build/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/build/install.sh b/assets/build/install.sh index d564c37e..89ff1c87 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -22,12 +22,15 @@ adduser --disabled-login --gecos 'Redmine' ${REDMINE_USER} passwd -d ${REDMINE_USER} # set PATH for ${REDMINE_USER} cron jobs +# Set GEM_HOME and BUNDLE_APP_CONFIG for ${REDMINE_USER}, needed for ruby:3.2-slim-bookworm image cat > /tmp/cron.${REDMINE_USER} <