summaryrefslogtreecommitdiff
path: root/bin/leap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/leap')
-rwxr-xr-xbin/leap6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/leap b/bin/leap
index dbdd312..e42b8c2 100755
--- a/bin/leap
+++ b/bin/leap
@@ -3,7 +3,11 @@
if ARGV.include?('--debug') || ARGV.include?('-d')
DEBUG=true
begin
- require 'debugger'
+ if RUBY_VERSION =~ /^2/
+ require 'byebug'
+ else
+ require 'debugger'
+ end
rescue LoadError
end
else