Created
December 26, 2016 16:18
-
-
Save kirkgo/4e628e916b761b3e79de87d7d152109e to your computer and use it in GitHub Desktop.
Gitignore template for Ruby and Ruby on Rails application. Customize as you need.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://help.github.com/articles/ignoring-files for more about ignoring files. | |
# | |
# If you find yourself ignoring temporary files generated by your text editor | |
# or operating system, you probably want to add a global ignore instead: | |
# git config --global core.excludesfile '~/.gitignore_global' | |
/.bundle | |
/log/* | |
!/log/.keep | |
*.gem | |
*.rbc | |
/.config | |
config/database.yml | |
/coverage/ | |
/InstalledFiles | |
/pkg/ | |
/spec/reports/ | |
/spec/examples.txt | |
/test/tmp/ | |
/test/version_tmp/ | |
/tmp/ | |
tmp/* | |
*.rbc | |
capybara-*.html | |
.rspec | |
/db/*.sqlite3 | |
/db/*.sqlite3-journal | |
/public/system | |
/public/assets | |
/coverage/ | |
/spec/tmp | |
**.orig | |
rerun.txt | |
pickle-email-*.html | |
# Used by dotenv library to load environment variables. | |
# .env | |
## Specific to RubyMotion: | |
.dat* | |
.repl_history | |
build/ | |
*.bridgesupport | |
build-iPhoneOS/ | |
build-iPhoneSimulator/ | |
## Specific to RubyMotion (use of CocoaPods): | |
# | |
# We recommend against adding the Pods directory to your .gitignore. However | |
# you should judge for yourself, the pros and cons are mentioned at: | |
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | |
# | |
# vendor/Pods/ | |
## Documentation cache and generated files: | |
/.yardoc/ | |
/_yardoc/ | |
/doc/ | |
/rdoc/ | |
## Environment normalization: | |
/.bundle/ | |
/vendor/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 | |
# 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 | |
# 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 | |
# Ignore Mac OSX files | |
.DS_Store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment