This project is archived and is in readonly mode.

#3725 ✓invalid
Josh Nichols

[PATCH] include paths for gem bundler in generated gitignore

Reported by Josh Nichols | January 17th, 2010 @ 06:11 PM

Rails 3 now generates a gitignore file for you:

db/*.sqlite3
log/*.log
tmp/**/*

However, it doesn't include paths to match the files gem bundle would generate. I generally have to look this up everytime, since I haven't seen an authoritative way to deal gem bundler in a project. According to it's docs, it should be something like:

vendor/gems/*
!vendor/gems/ruby/1.8/cache/

It probably makes sense to include some pattern that will work with bundler out of the box, as to avoid confusion of what to git add and what to ignore.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages