DEV Community

Discussion on: deploying rails showing error "Missing encryption key".

Collapse
 
ehsanatwork profile image
SMEHSAN

I have got the solution.
By adding the master key to the production.
these following tuts really help me to get out of this problem.

waiyanyoon.com/deploying-rails-5-2...
engineyard.com/blog/rails-encrypte...

Collapse
 
talk2megooseman profile image
Erik Guzman

I would highly recommend keeping your master key in a secure place. Making a private Github GIST would do the trick. You want to have it securely stored in cases where you need to clone your repo to another computer or some freak accident happens that causes you to lose your master key.