Couldn't decrypt `config/credentials.yml.enc`
Rails 5.2 introduced the credentials system for managing secure credentials in your application. You can edit the file with rails credentials:edit
, which is pretty dope. But if you do like I did and you start your project on one machine and go to try and edit that file on a different machine after you pull down the repository from Github, it will generate a new master.key
file for you. This will not work to decrypt the file, and you'll get the error above. You need to make sure that you grab the file from wherever you started your application from. In my case it was as simple as using scp
to grab the file from a different machine.