Optionally ignore ruby env normalisation files, with comments

This commit is contained in:
Carl Suster 2013-11-10 21:12:01 +11:00
parent d72190c56a
commit 0ac2f7cb82
2 changed files with 25 additions and 5 deletions

View File

@ -3,9 +3,6 @@
.sass-cache .sass-cache
capybara-*.html capybara-*.html
.rspec .rspec
.rvmrc
/.bundle
/vendor/bundle
/log /log
/tmp /tmp
/db/*.sqlite3 /db/*.sqlite3
@ -16,3 +13,15 @@ capybara-*.html
rerun.txt rerun.txt
pickle-email-*.html pickle-email-*.html
config/initializers/secret_token.rb config/initializers/secret_token.rb
## Environment normalisation:
/.bundle
/vendor/bundle
# these should be checked in to normalise the environment:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

View File

@ -1,10 +1,8 @@
*.gem *.gem
*.rbc *.rbc
.bundle
.config .config
coverage coverage
InstalledFiles InstalledFiles
lib/bundler/man
pkg pkg
rdoc rdoc
spec/reports spec/reports
@ -16,3 +14,16 @@ tmp
.yardoc .yardoc
_yardoc _yardoc
doc/ doc/
## Environment normalisation:
.bundle
lib/bundler/man
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc