summaryrefslogtreecommitdiff
path: root/bin/bundle
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bundle')
-rw-r--r--bin/bundle7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/bundle b/bin/bundle
index c534a3b627..d11614be86 100644
--- a/bin/bundle
+++ b/bin/bundle
@@ -1,3 +1,8 @@
require 'bundler/cli'
-Bundler::CLI.start \ No newline at end of file
+begin
+ Bundler::CLI.start
+rescue Bundler::BundlerError => e
+ puts e.message
+ exit e.status_code
+end \ No newline at end of file