Skip to content

Instantly share code, notes, and snippets.

@patrickclery
Created December 26, 2018 22:26
Show Gist options
  • Save patrickclery/bd431286762bdc1bc3be0ed5be67e143 to your computer and use it in GitHub Desktop.
Save patrickclery/bd431286762bdc1bc3be0ed5be67e143 to your computer and use it in GitHub Desktop.
.gitignore for Rails Projects
# 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'
# Ignore bundler config.
/.bundle
# Gem related
/doc/
/pkg/
# Yarn related
/.yardoc
/_yardoc/
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
/storage/*
!/storage/.keep
/public/assets
.byebug_history
# Coverage folder
/coverage/
/spec/reports/
# rspec failure tracking
.rspec_status
# dotenv -- ignore all but .env.example
#.env.example
.env.development
.env.local
.env.test
.env
# IntelliJ project files
.idea
*.iml
out
gen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment