On Wed, Mar 4, 2009 at 4:30 AM, Andrew Premdas <aprem...@gmail.com> wrote:
> With Cuc and Rails I'd be able to debug step definitions by putting
> 'debugger' in the relevant step definition. With Sinatra configured as above
> this doesn't work. Any tips on making this work and/or explaining whats
> different/

Just use: require 'ruby-debug/debugger' where you'd normally use debugger.

The difference is sinatra doesn't load ruby-debug itself.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to