Skip to content

Instantly share code, notes, and snippets.

@korabh
Last active August 29, 2015 14:16
Show Gist options
  • Save korabh/0fa8178cade28782c033 to your computer and use it in GitHub Desktop.
Save korabh/0fa8178cade28782c033 to your computer and use it in GitHub Desktop.
Rails.gitignore
# https://github.com/github/gitignore/blob/master/Rails.gitignore
*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/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/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
# Ignore pow environment settings
.powenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment