Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow local per env #281

Merged
merged 6 commits into from
Jan 25, 2017
Merged

Allow local per env #281

merged 6 commits into from
Jan 25, 2017

Conversation

bkeepers
Copy link
Owner

This pulls in changes from both #249 and #257 to support .env.#{Rails.env}.local. I'm not crazy about this change, but enough people have asked for it that I'll concede (but you can't make me document it…yet :trollface:).

Ivan Byurganovskiy and others added 6 commits March 15, 2016 18:22
This feture costs 1 line of code, but give more freedom to users
This allows customization of specific Rails environments, instead of having
.env.local override values for *all* Rails environments, which is not always
desirable.
…locals

* origin/master: (22 commits)
  Switch to FAQ format at bottom
  add note that it won't overwrite existing env variables
  Allow following whitespace
  Prepare for 2.1.2
  Prepare for 2.1.2
  Allow leading whitespace
  Docs for loading multiple files
  Add dotenv/load to README
  Reorganize docs, document variable substitution
  Remove whitespace
  Nokogiri 1.7 requires Ruby version >= 2.1.0
  Travis 'Ruby rbx-2' failing on master
  Use the latest rubies on Travis
  Rack 2 requires Ruby version >= 2.2.2
  CI against Ruby 2.4.0
  Loosen the railties version
  Reorder to make the load method available
  fix typo (charriage returns) in changelog
  Fix deprecation warning
  add helper file that loads when required
  ...
…re-locals

* alex-ut-env-specific-local-files:
  Also load .env.#{Rails.env}.local
* master:
  Drop support for 1.9
  Fix a build error on Travis CI by using latest RubyGems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant