Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid crazy stack traces from early Ctrl-Cs, thanks @mitchellh!

  • Loading branch information...
commit 69c5d8bbe88ff50ba116240fffdaa6d2f7161f83 1 parent d80d79b
@hone hone authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 bin/bundle
View
5 bin/bundle
@@ -1,4 +1,9 @@
#!/usr/bin/env ruby
+
+# Trap interrupts to quit cleanly. See
+# https://twitter.com/mitchellh/status/283014103189053442
+Signal.trap("INT") { exit 1 }
+
require 'bundler'
# Check if an older version of bundler is installed
$:.each do |path|

1 comment on commit 69c5d8b

Please sign in to comment.
Something went wrong with that request. Please try again.