ruby-debug19: Can't get working with Ruby 1.9.1p376

Posted by tk-421 on Stack Overflow See other posts from Stack Overflow or by tk-421
Published on 2010-04-11T20:13:36Z Indexed on 2010/04/11 20:33 UTC
Read the original article Hit count: 512

Filed under:
|

Hello, I'm trying to use ruby-debug19 with Ruby 1.9.1p376 but am getting the following error:

test.rb:2:in `require': no such file to load -- ruby-debug19 (LoadError) from test.rb:2:in `<main>'

Here's test.rb:

require 'rubygems'
require 'ruby-debug19'

Here's the output of "gem list":

*** LOCAL GEMS ***
ruby-debug19 (0.11.6)
(etc.)

So running "ruby test.rb" generates the above error.

Am I doing this wrong? I thought this was the correct way to run ruby-debug19 (by including the gem and adding "debugger" statements) and haven't been able to find any articles/posts with the same problem.

I am using RVM but the above output is all under the same version of Ruby ("ruby -v" shows 1.9.1p376 as expected, and the gem list output is specific to that version and not the OS X system-installed version 1.8.7).

© Stack Overflow or respective owner

Related posts about ruby

Related posts about debugging