Rails: Moving `master.key` to production server
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to deploy an updated version of a rails app to a droplet on DigitalOcean using mina When I run mina deploy I get the error Missing encryption key to decrypt file with. Ask your team for your master key and write it to /home/my_rails_project/app/tmp/build-153920174210305/config/master.key or put it in the ENV['RAILS_MASTER_KEY'] . I was expecting this error as I haven't yet worked out how to add the details to the server. A number of articles suggest there are two means of doing this : Option 1: Place the config/master.key file in