Newbie: I can't run in debug mode

After installing RubyMine 4.0 on my Windows 7 and writing and running some code I tried to run the debugger.
I got this error:

Failed to Install Gems. Following gems were not installed:
C:/Users/William/.RubyMine40/config/rb/linecache19-0.5.13.gem:      Error installing linecache19-0.5.13.gem:
The 'linecache19' native gem      requires installed build tools. Please update your PATH to include build      tools or download the DevKit from '' and      follow the instructions at      ''     

Shouldn't the RubyMine installer have set up everything so I could debug ? Perhaps I made a mistake somewhere?
I can't quite follow the error above.
It says to update my PATH, but which Path would that be ? In my Winodws settings ? In the RubyMine Rub/Debug configuration dialog ?
Or do I actually have to download a DevKit ?
Thank you.

Comment actions Permalink

Hello William,

RubyMine installer doesn't install compilers that are required to install gems with native extensions (such as debug gems) because there are different toolchains that may be used for that on Windows. Also, there's no way to avoid compilation debug gems compilation for Ruby 1.9.x. So, easiest way for novice would be installing DevKit from

Comment actions Permalink

I followed all the directions and now the debugger is running in RubyMine.
Thank you.


Please sign in to leave a comment.