Skip to content

Instantly share code, notes, and snippets.

@acidlabs-snippets
Created October 11, 2012 20:06
Show Gist options
  • Save acidlabs-snippets/3875160 to your computer and use it in GitHub Desktop.
Save acidlabs-snippets/3875160 to your computer and use it in GitHub Desktop.
.gitignore for Rails project
#----------------------------------------------------------------------------
# Ignore these files when commiting to a git repository
#
# The original version of this file is found here:
# https://github.com/RailsApps/rails3-application-templates/raw/master/files/gitignore.txt
#
# Corrections? Improvements? Create a GitHub issue:
# http://github.com/RailsApps/rails3-application-templates/issues
#----------------------------------------------------------------------------
# bundler state
/.bundle
/vendor/bundle/
# minimal Rails specific artifacts
db/*.sqlite3
/log/*
tmp/*
# various artifacts
**.war
*.rbc
*.sassc
.rspec
.redcar/
.sass-cache
/config/config.yml
/config/database.yml
/coverage.data
/coverage/
/db/*.javadb/
/db/*.sqlite3-journal
/doc
/doc/api/
/doc/app/
/doc/features.html
/doc/specs.html
/public/cache
/public/stylesheets/compiled
/public/system
/spec/tmp/*
/cache
/capybara*
/capybara-*.html
/gems
/rerun.txt
/spec/requests
/spec/routing
/spec/views
/specifications
# scm revert files
**.orig
# Mac finder artifacts
.DS_Store
# Netbeans project directory
/nbproject/
# Textmate project files
/*.tmproj
# vim artifacts
**.swp
# Railroady
/docs
# Foreman
*.env
# Deploy
deploy
# No certs
sslcerts
@mespina
Copy link

mespina commented Oct 24, 2013

Por favor agreguen ignore para Vagrant:

# Vagrant
/.vagrant
Vagrantfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment