gemignore allows you to automatically insert a wide range of preset .gitignore snippets into your .gitignore files
Lucas Jenss
gem "gemignore", "~> 0.4.0"