summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
-rwxr-xr-xtool/runruby.rb5
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,8 @@ when ENV['RUNRUBY_USE_GDB'] == 'true'
debugger = :gdb
when ENV['RUNRUBY_USE_LLDB'] == 'true'
debugger = :lldb
end
while arg = ARGV[0]
break ARGV.shift if arg == '--'
@@ -164,6 +166,9 @@ if debugger
end
cmd = [runner || ruby]
cmd.concat(ARGV)
cmd.unshift(*precommand) unless precommand.empty?