On 7/16/10, rocky <user / compgroups.net/> wrote:
> ruby -rdebug UltraDedup.rb
>
> invokes the debugger that comes with Ruby, not ruby-debug. To invoke
> ruby-debug run as rdebug.

Furthermore, if you run your ruby program via the rdebug command, you
needn't modify your source code at all.

It's unfortunate that the 2 different debuggers both use the word
rdebug somehow in their invocation.... With the original debug.rb, you
start debugging your program via 'ruby -rdebug' whereas with
ruby-debug gem, you start debugging via 'rdebug'. This makes it more
confusing than it ought to be.