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

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


Branch: pkgsrc-2016Q4, Version: 2.1.0, Package name: ruby22-dotenv-2.1.0, 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/ruby22-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: cf327cf795016bcbea38b67fda961f6711c64f91
RMD160: 296ab6d8a4802dbb51c0b0f3d23cc94fc07ca0da
Filesize: 10 KB

Version history: (Expand)