Category Archives: Ruby

Debugging Cucumber in eclipse

I have had a bit of a ‘mare getting debugging Ruby code in eclipse.  Namely getting the ruby-debug-ide gem installed.  I’m sure that I’m not the only one.
The problem was that I was unable to run the cucumber feature  from eclipse whilst in debug mode, the error was that I hadn’t installed the ruby-debug-ide gem. Unfortunately it seemed to be impossible to install that gem.
I kept getting

ERROR: Failed to build gem native extension

Luckily I found this lovely post so I will share: http://giorgio-ferrara.blogspot.com/2009/11/how-to-enable-ruby-debug-in-rubymine-20_22.html

Advertisements