Skip to content

Commit

Permalink
Fix the command that generates SECRET_KEY_BASE
Browse files Browse the repository at this point in the history
  • Loading branch information
dashohoxha authored Oct 14, 2023
1 parent 4340b00 commit aa3b6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbb-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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?"
Expand Down

0 comments on commit aa3b6a0

Please sign in to comment.