This project is archived and is in readonly mode.
Add a default .gitignore for Rails
-
Josh Nichols
This seems to be implemented:
$ ruby railties/bin/rails zomg --dev # snip $ ls zomg/.gitignore zomg/.gitignore -
Jeremy Kemper
- State changed from open to resolved
-
Peter Aronoff
I think the default
.gitignorefile rails produces uses a glob syntax that Git doesn't recognize. The template file includes this linetmp/**/*, but Git doesn't use the double-star pattern the way Ruby does. To ignore a tmp directory (and anything in it, including further subdirectories), shouldn't it betmp/? (Or maybe/tmp/if the idea is to ignore only thetmpdirectory at the top level.)