[rspec-users] Sinitra and Cucumber

Rob Holland rob.holland at gmail.com
Wed Mar 4 04:33:28 EST 2009

On Wed, Mar 4, 2009 at 4:30 AM, Andrew Premdas <apremdas at 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.

More information about the rspec-users mailing list