浏览代码

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
Daniel Libanori 3 年之前
父节点
当前提交
e77ef81b1b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Rails.gitignore

+ 1 - 1
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