From 2c3209623c74d4a045d6dc9709b9b844d98fe74f Mon Sep 17 00:00:00 2001
From: Ahmad Farhat <ahmad.af.farhat@gmail.com>
Date: Mon, 16 Oct 2023 09:39:45 -0400
Subject: [PATCH] Fixed issue in install script with secret generation (#5466)

---
 gl-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gl-install.sh b/gl-install.sh
index b3b56cc5..89e0a1f9 100755
--- a/gl-install.sh
+++ b/gl-install.sh
@@ -405,7 +405,7 @@ install_greenlight_v3(){
   local REDIS_URL_ROOT="redis://$RSTXADDR"
 
   local PGDBNAME=greenlight-v3-production
-  local SECRET_KEY_BASE=$(docker run --rm --entrypoint bundle $GL_IMG_REPO exec rake secret)
+  local SECRET_KEY_BASE=$(docker run --rm --entrypoint bundle $GL_IMG_REPO exec rails secret)
 
   if [ -z "$SECRET_KEY_BASE" ]; then
     err "failed to generate greenlight-v3 secret key base - is docker running?"
-- 
GitLab