[rspec-users] Sinitra and Cucumber

Andrew Premdas apremdas at gmail.com
Wed Mar 4 09:25:07 EST 2009


Thanks alot - works a treat :)

2009/3/4 Rob Holland <rob.holland at gmail.com>

> 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.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090304/5f42fbb9/attachment.html>


More information about the rspec-users mailing list