Answer the question
In order to leave comments, you need to log in
Rails how to correctly set environment variables when deploying an application?
Hello
In the config/secret.yml configuration file, secret_key_base takes its value from an environment variable.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question