bkeepers/dotenv
View on GitHub ↗ ★ 6,768 Ruby
A Ruby gem to load environment variables from `.env`.
7 mentions on Hacker News by 7 people: 0 stories, 7 comments · first 2014-03-17 · latest 2022-03-23
20082026
-
…for projects that don't. Basically "start": "zenv --file .env.production -- node ./index.js" [0] https://github.com/bkeepers/dotenv [1] https://lib.rs/crates/zenv (readenv is an alternative, but that doesn't allow overriding the .env file)
comment by berkes · 2022-03-23 · in Dum: An NPM scripts runner written in Rust -
…large Ruby emigrant populations. As a prototypal example, consider dotenv, which began in Ruby: https://github.com/bkeepers/dotenv And has travelled to Node: https://github.com/motdotla/dotenv And Go: https://github.com/joho/godotenv
comment by twic · 2021-01-31 · in RFC 8959: The “secret-token” URI Scheme -
See also https://github.com/bkeepers/dotenv
comment by maniacalrobot · 2017-12-26 · in Command-line tool that reads a file and injects them as env vars -
…though support may be less than exemplary in your language of choice. In ruby land, I use https://github.com/bkeepers/dotenv
comment by ad-hominem · 2017-05-16 · in Web Developer Security Checklist -
…less often used and I may remove it d=dotenv to easily wrap a command in environment variables (https://github.com/bkeepers/dotenv) g=git h=hub (GitHub's extensions to Git) j=autojump to move to common directories using just a few…
comment by kristjan · 2016-06-18 · in Show HN: Git alias commands and shortcuts -
dotenv is a good way to handle such configuration problems - https://github.com/bkeepers/dotenv Just .gitignore the .env file.
comment by manojlds · 2015-02-01 · in Git: ignore file lines -
…to load the .env file). For Rails, take a look at the dotenv-rails gem. It's pretty convenient. https://github.com/bkeepers/dotenv Here is the Heroku article on the topic (might not apply directly to your situation, but the principal is…
comment by spiralganglion · 2014-03-17 · in Production AWS keys on GitHub