[rspec-users] rdebug spec ?

James Deville james.deville at gmail.com
Tue Jun 12 02:40:08 EDT 2007

Since this appears to be for Rails, get ruby-debug instead. Then you just
have to put 'debugger' in where you want to enter your code. It works great.

Otherwise, it may still work, but it will probably require configuration.

The other option is to see what rdebug's version of the -I switch is. For
ruby (command line) -I followed by the library path makes that library get

-----Original Message-----
From: rspec-users-bounces at rubyforge.org
[mailto:rspec-users-bounces at rubyforge.org] On Behalf Of Jonathan Linowes
Sent: Monday, June 11, 2007 11:23 PM
To: rspec-users
Subject: [rspec-users] rdebug spec ?

Can you run rdebug on specs?

I get errors when I try:

$ rdebug spec ./spec/models/select_option_spec.rb
./spec: Is a directory - ./spec (Errno::EISDIR)
         from /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/bin/ 
rdebug:136:in `debug_load'
         from /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/bin/ 
         from /opt/local/bin/rdebug:16:in `load'
         from /opt/local/bin/rdebug:16

rspec-users mailing list
rspec-users at rubyforge.org

More information about the rspec-users mailing list