Skip to content

Instantly share code, notes, and snippets.

@chriskottom
Created November 2, 2017 17:30
Show Gist options
  • Save chriskottom/f34860d049d7f4e6488584924038f994 to your computer and use it in GitHub Desktop.
Save chriskottom/f34860d049d7f4e6488584924038f994 to your computer and use it in GitHub Desktop.
Current Rails project .gitignore
# Editor temporary files
#
*~
\#*\#
.\#*
*.swp
*.swo
*.sublime-project
*.sublime-workspace
# Other common temporary files
#
*.bak
*.old
*.orig
*.rbc
/tmp/*
!/tmp/.gitkeep
!/tmp/.keep
# Bundler artifacts
#
/.bundle
/vendor/bundle
# Rails-specific files
#
.byebug_history
/config/initializers/secret_token.rb
/config/secrets.yml
/db/*.sqlite3
/db/*.sqlite3-journal
/log/*
!/log/.gitkeep
!/log/.keep
/node_modules
/public/system
.sass-cache
/yarn-error.log
# Testing artifacts and temp files
#
.rspec
capybara-*.html
/coverage
/reports
/spec/reports
/spec/tmp
/test/tmp
/test/version_tmp
# Documentation
#
.yardoc
_yardoc
doc
rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment