When using encrypted secrets on a Rails 5.1 app, deployment fails with this message:
Rails::Secrets::MissingKeyError: Missing encryption key to decrypt secrets with. Ask your team for your master key and put it in ENV["RAILS_MASTER_KEY"]
I have RAILS_MASTER_KEY configured as environment variable but it's not picked up.
When using encrypted secrets on a Rails 5.1 app, deployment fails with this message:
Rails::Secrets::MissingKeyError: Missing encryption key to decrypt secrets with. Ask your team for your master key and put it in ENV["RAILS_MASTER_KEY"]I have
RAILS_MASTER_KEYconfigured as environment variable but it's not picked up.