Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (0m)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (89d)  pkgsrc-2023Q3 (169d) 

2024-05-27 20:34:50 UTC Now

2015-09-13 13:57:25 UTC MAIN commitmail json YAML

Add ruby-dotenv, required by new version of ruby-celluloid.

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.

(taca)