ruby debugger shows error Tracer is not a class (TypeError)
Issue
-
While trying to run the ruby debugger with 'ruby -rdebug' getting the following error that seems to be caused by a module/class name conflict in /usr/lib/ruby/1.8/debug.rb.
-
Sample output:
# ruby -rdebug /usr/sbin/nick
/usr/lib/ruby/1.8/tracer.rb:16: Tracer is not a class (TypeError)
from /usr/lib/ruby/1.8/debug.rb:10:in `require'
from /usr/lib/ruby/1.8/debug.rb:10
Environment
- Red Hat Enterprise Linux (RHEL) 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
