From aa3b6a0a8d57ab133e984bcb9f1d86f21195b402 Mon Sep 17 00:00:00 2001 From: Dashamir Hoxha Date: Sat, 14 Oct 2023 15:46:12 +0200 Subject: [PATCH] Fix the command that generates SECRET_KEY_BASE --- bbb-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbb-install.sh b/bbb-install.sh index fa3fc87..2a6a597 100755 --- a/bbb-install.sh +++ b/bbb-install.sh @@ -901,7 +901,7 @@ install_greenlight_v3(){ local PGDBNAME=greenlight-v3-production local SECRET_KEY_BASE - SECRET_KEY_BASE=$(docker run --rm --entrypoint bundle $GL_IMG_REPO exec rake secret) + SECRET_KEY_BASE=$(docker run --rm --entrypoint /bin/sh $GL_IMG_REPO -c "bundle exec rails secret") if [ -z "$SECRET_KEY_BASE" ]; then err "failed to generate greenlight-v3 secret key base - is docker running?"