The first line of my ~/.profile file is:
export DEVISE_TOKEN_AUTH_SECRET_KEY="secrethere"
When I SSH in to my deployer account, echo $DEVISE_TOKEN_AUTH_SECRET_KEY prints the secret key normally. However, when running
cap production deploy
I get
Devise.secret_key was not set
Any ideas why?