On 1/30/08, Jay Donnell <[EMAIL PROTECTED]> wrote: > How do I use the ruby debugger with a specific test (not the whole spec > file)? I want to do something like this. > > $ rdebug spec/models/user_spec.rb -s "should error if not new_record"
Almost there: $rdebug spec/models/user_spec -- s "should error if not new_record" The -- separates the rdebug options from the options for the program being debugged. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/ _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users