Skip to content

Instantly share code, notes, and snippets.

@felipecabargas
Created September 15, 2014 18:05
Show Gist options
  • Save felipecabargas/0e856f1a27b751ca8f3c to your computer and use it in GitHub Desktop.
Save felipecabargas/0e856f1a27b751ca8f3c to your computer and use it in GitHub Desktop.
Rails 4 gitignore file
*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/public/system
/coverage/
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/database.yml
config/secrets.yml
## Environment normalisation:
/.bundle
/vendor/bundle
# these should all 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
# if using bower-rails ignore default bower_components path bower.json files
/vendor/assets/bower_components
*.bowerrc
bower.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment