Popularity
9.1
Growing
Activity
6.8
-
4,805
63
326

Description

Shim to load environment variables from .env into ENV in development.

Storing configuration in the environment is one of the tenets of a twelve-factor app. Anything that is likely to change between deployment environments–such as resource handles for databases or credentials for external services–should be extracted from the code into environment variables.

But it is not always practical to set environment variables on development machines or continuous integration servers where multiple projects are run. dotenv loads variables from a .env file into ENV when the environment is bootstrapped.

Monthly Downloads: 1,474,864
Programming language: Ruby
License: MIT License

dotenv alternatives and related gems

Based on the "Configuration" category

Do you think we are missing an alternative of dotenv or a related project?

Add another 'Configuration' Gem

dotenv Recommendations

There are no recommendations yet. Be the first to promote dotenv!

Have you used dotenv? Share your experience. Write a short recommendation and dotenv, you and your project will be promoted on Awesome Ruby.
Recommend dotenv

Recently added dotenv resources

Do you know of a usefull tutorial, book or news relevant to dotenv?
Be the first to add one!