<div dir="ltr"><div><div><div><div><div>Hi LRUG,<br><br></div>I've been thinking a lot recently about application secrets like API or database credentials and how they are stored in different environments for Rails apps. I was hoping that you lovely LRUG member could share how you deal with this yourself.<br><br>Currently I only tend to deploy apps to Heroku, so I use environment variables throughout the app, loaded in development/test environments with the <a href="https://github.com/philnash/envyable">envyable</a> gem, though <a href="https://github.com/laserlemon/figaro">figaro</a> would do the same job.<br><br></div>So, what I'm asking is, if you use environment variables for config in your applications how do you load them in both development and production environments?<br><br></div>Thanks,<br><br>Phil<br><br>--<br></div>Phil Nash<br></div>@philnash<br></div>