using basic http authentication in rails,
<p>Im using http auth in a rails app and I need to use .env files in order to keep my passwords secure.</p>

<p>I know I need use them and the .gitignore and .env file to do this, but I have no idea how to? </p>