Merge pull request #49596 from frenkel/fix/credentials-server-doc

Fix documentation for credentails server start command
This commit is contained in:
Ryuta Kamizono 2023-10-12 20:29:18 +09:00 committed by GitHub
commit d5aeb51beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -26,7 +26,7 @@ Setup:
is easier to manage. You could set `RAILS_MASTER_KEY` in a deployment
configuration, or you could prepend it to your server's start command like so:
RAILS_MASTER_KEY="very-secret-and-secure" server.start
RAILS_MASTER_KEY="very-secret-and-secure" bin/rails server
If `ENV["RAILS_MASTER_KEY"]` is present, it takes precedence over
`config/master.key`.

@ -27,7 +27,7 @@ Setup:
You could prepend that to your server's start command like this:
RAILS_MASTER_KEY="im-the-master-now-hahaha" server.start
RAILS_MASTER_KEY="im-the-master-now-hahaha" bin/rails server
The `config/secrets.yml.enc` has much the same format as `config/secrets.yml`: