Debugging rspec2 and rails3


Is there a simple way to debug specs under rails3? I’ve installed rvm
and I’m running ruby 1.9.2, I’ve tried alot of stuff to get my IDEs
debugging my specs to no avail. I can run rdebug from the command line
and debug it, but I cannot debug it from either RubyMine or NetBeans.
The last time I tried attaching the (remote) debugger, my program
would stop at some specific line instead of stopping at my

Can you recommend any good IDE for linux that has support for ruby 1.9
and rails3/rspec2? I don’t mind tinkering with some config files, I
would just like to debug my specs.