Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails-assets.sh failing due to missing RAILS_MASTER_KEY #22

Open
MSchmidt opened this issue Feb 13, 2018 · 0 comments
Open

rails-assets.sh failing due to missing RAILS_MASTER_KEY #22

MSchmidt opened this issue Feb 13, 2018 · 0 comments

Comments

@MSchmidt
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant