aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/templates/newgem/gitignore.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/gitignore.tt')
-rw-r--r--lib/bundler/templates/newgem/gitignore.tt21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/gitignore.tt b/lib/bundler/templates/newgem/gitignore.tt
new file mode 100644
index 0000000000..573d76b4c2
--- /dev/null
+++ b/lib/bundler/templates/newgem/gitignore.tt
@@ -0,0 +1,21 @@
+/.bundle/
+/.yardoc
+/Gemfile.lock
+/_yardoc/
+/coverage/
+/doc/
+/pkg/
+/spec/reports/
+/tmp/
+<%- if config[:ext] -%>
+*.bundle
+*.so
+*.o
+*.a
+mkmf.log
+<%- end -%>
+<%- if config[:test] == "rspec" -%>
+
+# rspec failure tracking
+.rspec_status
+<%- end -%>