[rspec-users] how to --debug rspec2 w/rails3?
John Dell
spovich at gmail.com
Wed Apr 21 19:13:59 EDT 2010
I'm diving into rails3 and rspec2. Things are a bit rough....
New application using RVM w/ruby 1.8.7 p249, Rails (3.0.0.beta3), RSpec
(2.0.0.beta.7), ruby-debug (0.10.3), ruby-debug-base (0.10.3)
I created a .rspec file in my Rails.root with the following
--debug
--colour
--format progress
Then I add a 'debugger' statement in one of my .spec files, and run 'rake
spec', I get the following:
"debugger statement ignored, use -d or --debug option on rspec to enable
debugging"
Running "rspec -d ./spec/**" gives the same result. So, am I calling
debugger wrong, or is it not working yet?
Thanks!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100421/7bc78571/attachment.html>
More information about the rspec-users
mailing list