From: Daniel Libanori Date: Thu, 28 Oct 2021 07:52:49 +0000 (-0300) Subject: Ignore Rails .env according recomendations X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F3864%2Fhead;p=gitignore.git Ignore Rails .env according recomendations Reasons for making this change: Rails dotenv ignore is not following dotenv recommendations as stated in its documentation Links to documentation supporting these rule changes: https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use --- diff --git a/Rails.gitignore b/Rails.gitignore index ae9df644..c55bb713 100644 --- a/Rails.gitignore +++ b/Rails.gitignore @@ -27,7 +27,7 @@ config/master.key # dotenv, dotenv-rails # TODO Comment out these rules if environment variables can be committed .env -.env.* +.env*.local ## Environment normalization: /.bundle