Skip to content

Instantly share code, notes, and snippets.

@oojikoo-gist
Last active January 14, 2016 08:06
Show Gist options
  • Save oojikoo-gist/a9c7edc9bf6492c13219 to your computer and use it in GitHub Desktop.
Save oojikoo-gist/a9c7edc9bf6492c13219 to your computer and use it in GitHub Desktop.
rails: 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 these rules if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/secrets.yml
config/application.yml
## 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
# 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
### SublimeText ###
# cache files for sublime text
# *.tmlanguage.cache
# *.tmPreferences.cache
# *.stTheme.cache
# # workspace files are user-specific
# *.sublime-workspace
# # project files should be checked into the repository, unless a significant
# # proportion of contributors will probably not be using SublimeText
# *.sublime-project
# Ignore application configuration
/config/application.yml
.DS_Store
.rake_tasks
.idea/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment