./devel/ruby-dotenv, Loads environment variables from .env

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q4, Version: 2.0.2, Package name: ruby200-dotenv-2.0.2, Maintainer: pkgsrc-users

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

Storing [configuration in the environment](http://www.12factor.net/config) is
one of the tenets of a [twelve-factor app](http://www.12factor.net/). 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.


Required to run:
[lang/ruby200-base]

Master sites:

SHA1: 18f3d5ed7dfecef4968131672ddc2b8ae4602dff
RMD160: c3402e1abd957e9ba545c02bf89860d3a999393c
Filesize: 10 KB

Version history: (Expand)