summaryrefslogtreecommitdiffstats
path: root/options/gitignore/Rails
diff options
context:
space:
mode:
Diffstat (limited to 'options/gitignore/Rails')
-rw-r--r--options/gitignore/Rails17
1 files changed, 13 insertions, 4 deletions
diff --git a/options/gitignore/Rails b/options/gitignore/Rails
index f786a90af3..e97427608c 100644
--- a/options/gitignore/Rails
+++ b/options/gitignore/Rails
@@ -12,15 +12,21 @@ capybara-*.html
rerun.txt
pickle-email-*.html
-# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
+# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
-config/secrets.yml
-## Environment normalisation:
+# Only include if you have production secrets in this file, which is no longer a Rails default
+# config/secrets.yml
+
+# dotenv
+# TODO Comment out this rule if environment variables can be committed
+.env
+
+## Environment normalization:
/.bundle
/vendor/bundle
-# these should all be checked in to normalise the environment:
+# these should all be checked in to normalize the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
@@ -33,3 +39,6 @@ bower.json
# Ignore pow environment settings
.powenv
+
+# Ignore Byebug command history file.
+.byebug_history