Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto load .env at Rails startup #99

Closed
kretz opened this issue Mar 10, 2014 · 1 comment
Closed

Auto load .env at Rails startup #99

kretz opened this issue Mar 10, 2014 · 1 comment

Comments

@kretz
Copy link

kretz commented Mar 10, 2014

Why is not the .env file automatically loaded during Rails startup/boot? The Figaro gem seems to do this successfully.

If not automatically loaded, can you add to the documentation the best place to do it in a generic Rails app?

Thanks,
Martin

@bkeepers
Copy link
Owner

https://github.com/bkeepers/dotenv#rails

It will if you're using the dotenv-rails gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants