diff options
author | elijah <elijah@riseup.net> | 2014-11-26 09:52:20 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-11-26 09:52:20 -0800 |
commit | 2b0e44d40780d4f2f8ac6bd5b3cc4e1c7ec2edc7 (patch) | |
tree | 8d2066311024d1c71cfc75404d04202dd12ece50 /bin/leap | |
parent | b839376a507e37a048ea2df53127ed0884310f60 (diff) |
make debugger gem optional
Diffstat (limited to 'bin/leap')
-rwxr-xr-x | bin/leap | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,10 @@ if ARGV.include?('--debug') || ARGV.include?('-d') DEBUG=true - require 'debugger' + begin + require 'debugger' + rescue LoadError + end else DEBUG=false end |