BSD Ports

devel/ruby-dotenv 2.8.1 NetBSD

Loads environment variables from .env

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, ruby
Package size
26.7 KiB, 54.7 KiB installed

Description

dotenv

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.

Install

Binary package:

pkgin install ruby33-dotenv

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-dotenv && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.8.1
NetBSD 10.1 aarch642.8.1
SmartOS / illumos x86_642.8.1
macOS 15 arm642.8.1

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-dotenv-2.8.1, ruby40-dotenv-2.8.1