Skip to content

Instantly share code, notes, and snippets.

@cgrusden
Created January 29, 2017 13:13
Show Gist options
  • Save cgrusden/833e9820cbd89899c5a3a6226a6e9acc to your computer and use it in GitHub Desktop.
Save cgrusden/833e9820cbd89899c5a3a6226a6e9acc to your computer and use it in GitHub Desktop.
Sample gitignore
# Created by https://www.gitignore.io/api/rails
### Rails ###
*.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 this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
# 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 normalize 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
# Ignore Byebug command history file.
.byebug_history
# End of https://www.gitignore.io/api/rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment