Created
April 22, 2019 11:38
-
-
Save zinovyev/cae7e9e1b47d4ae56bdb04445734a718 to your computer and use it in GitHub Desktop.
Generate new `secrets.yml` for rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec rake secret | \ | |
awk '{ print "development:\n secret_key_base: "$1"\nstaging:\n secret_key_base: "$1"\nproduction:\n secret_key_base: "$1 }' | \ | |
cat > config/secrets.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment