From 74109d293be42a593d063813544c5958f6944884 Mon Sep 17 00:00:00 2001 From: Ammar Hussein Date: Fri, 22 Nov 2024 18:09:51 -0800 Subject: [PATCH] use rails instead of rake --- abra.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abra.sh b/abra.sh index 5f34502..55777dd 100644 --- a/abra.sh +++ b/abra.sh @@ -81,12 +81,12 @@ secrets() { echo "Generating secrets for a new Mastodon deployment..." echo "" - SECRET_KEY_BASE=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rake secret) + SECRET_KEY_BASE=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rails secret) abra app secret insert "$APP_NAME" secret_key_base v1 "$SECRET_KEY_BASE" echo "SECRET_KEY_BASE = $SECRET_KEY_BASE" echo "" - OTP_SECRET=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rake secret) + OTP_SECRET=$(docker run --rm tootsuite/mastodon:$MASTO_VERSION bundle exec rails secret) abra app secret insert "$APP_NAME" otp_secret v1 "$OTP_SECRET" echo "OTP_SECRET = $OTP_SECRET" echo ""