diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bundle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/bundle b/bin/bundle index 53997cf2f4..413f97e112 100755 --- a/bin/bundle +++ b/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| |