Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* ruby.rb: include arguments in --gdb option.

  • Loading branch information...
commit 481a6fa6c26044a9170b921971d72c1901e7fbc8 1 parent d15d6be
@nobu authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 ruby.rb
View
8 ruby.rb
@@ -22,7 +22,13 @@
require 'shellwords'
command.concat(Shellwords.shellwords(value))
when re =~ "gdb"
- command.unshift(value || "gdb", "--args")
+ command.unshift("--args")
+ if value
+ require 'shellwords'
+ command.unshift(*Shellwords.shellwords(value))
+ else
+ command.unshift("gdb")
+ end
when re =~ "rubyopt"
rubyopt = value
when re =~ "print-libraries"
Please sign in to comment.
Something went wrong with that request. Please try again.