Last active
July 26, 2020 18:30
-
-
Save smapira/a687e254eb10aa521cd1201c657af814 to your computer and use it in GitHub Desktop.
.gitignore for new rails project
This file contains hidden or 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
# Created by .ignore support plugin (hsz.mobi) | |
### macOS template | |
*.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon | |
# Thumbnails | |
._* | |
# Files that might appear in the root of a volume | |
.DocumentRevisions-V100 | |
.fseventsd | |
.Spotlight-V100 | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
.com.apple.timemachine.donotpresent | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk | |
### Ruby template | |
*.gem | |
*.rbc | |
/.config | |
/coverage/ | |
/InstalledFiles | |
/pkg/ | |
/spec/reports/ | |
/spec/examples.txt | |
/test/tmp/ | |
/test/version_tmp/ | |
/tmp/ | |
## 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/ | |
/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 | |
### JetBrains template | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | |
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
# User-specific stuff: | |
.idea | |
## File-based project format: | |
*.iws | |
## Plugin-specific files: | |
# mpeltonen/sbt-idea plugin | |
.idea_modules/ | |
# JIRA plugin | |
atlassian-ide-plugin.xml | |
# Crashlytics plugin (for Android Studio and IntelliJ) | |
com_crashlytics_export_strings.xml | |
crashlytics.properties | |
crashlytics-build.properties | |
fabric.properties | |
### Rails template | |
*.rbc | |
capybara-*.html | |
.rspec | |
*.log | |
/tmp | |
/db/*.sqlite3 | |
/db/*.sqlite3-journal | |
/public/system | |
/coverage/ | |
/spec/tmp | |
**.orig | |
rerun.txt | |
pickle-email-*.html | |
config/spring.rb | |
config/credentials.yml.enc | |
config/master.key | |
# 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 | |
.env | |
.env.* | |
## Environment normalization: | |
/.bundle | |
/vendor/bundle | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment