I have a bad script in a cucumber and I would like to debug my rail controller using ruby-debug. But if I add a "debugger" to the point where I want to break, it will not stop.
I tried adding ruby-debug and rubygems requirements to the /support/env.rb functions, but then he tells me that he cannot load ruby-debug, although ruby-debug is in the list of gems, and I can load it in irb .
So ... what should I do to make it work?
Thanks!
ruby-on-rails cucumber ruby-debug
Thiago
source share