Skip to content

Instantly share code, notes, and snippets.

@hotsen
Created May 15, 2015 14:09
Show Gist options
  • Save hotsen/30abc9270e53152a03a8 to your computer and use it in GitHub Desktop.
Save hotsen/30abc9270e53152a03a8 to your computer and use it in GitHub Desktop.
## The Final Git Ignore File for Rails Applications (almost) ##
# ---------------------------------------------------------------------------------------------- #
#
# Development, yeah ...
# ---------------------------------------------------------------------------------------------- #
/log
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
# ---------------------------------------------------------------------------------------------- #
#
# Minitest, Capybara & Friends ...
# ---------------------------------------------------------------------------------------------- #
capybara-*.html
.rspec
/coverage/
/spec/tmp
# ---------------------------------------------------------------------------------------------- #
#
# Jenkins, Drone & Friends ...
# ---------------------------------------------------------------------------------------------- #
# ---------------------------------------------------------------------------------------------- #
#
# Secrets & Credentials ...
# ---------------------------------------------------------------------------------------------- #
# config/initializers/secret_token.rb
# config/secrets.yml
# ---------------------------------------------------------------------------------------------- #
#
# Bundler & Friends ...
# ---------------------------------------------------------------------------------------------- #
/.bundle
/vendor/bundle
/lib/bundler/man/
# ---------------------------------------------------------------------------------------------- #
#
# RDoc, Markdown & Friends ...
# ---------------------------------------------------------------------------------------------- #
*.rbc
*.md.html
/.yardoc/
/_yardoc/
/doc/
/rdoc/
# ---------------------------------------------------------------------------------------------- #
#
# RVM, rbenv & Friends ...
# ---------------------------------------------------------------------------------------------- #
.rvmrc
# ---------------------------------------------------------------------------------------------- #
#
# Bower, Less & Friends ...
# ---------------------------------------------------------------------------------------------- #
/vendor/assets/bower_components
*.bowerrc
bower.json
# ---------------------------------------------------------------------------------------------- #
#
# Process, .rc & Friends ...
# ---------------------------------------------------------------------------------------------- #
.powenv
# ---------------------------------------------------------------------------------------------- #
#
# System, Finder & Friends ...
# ---------------------------------------------------------------------------------------------- #
.DS_Store
# ---------------------------------------------------------------------------------------------- #
#
# RubyMotion & Friends ...
# ---------------------------------------------------------------------------------------------- #
.dat*
.repl_history
build/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment