I have both gems listed in this message but still get the dialog that it cannot connect.. My debugging was fine a few days ago.. I updated from rails 3.0.7 to rails 3.2.2 and ran a bundle update so likely something else got updated that I didn't notice.. I thought I had debugged the other day but possble I am confusing my days. :-) at any rate. .I had a bunch of debug gems installed so I uninstalled them all and reinstalled the latest and still get the issue..

I'm on

Ruby 1.9.2-p180

Rvm

Osx Lion

RubyMine 4.0.3 (from april '12)

Debug gems as displayed from bundler

Using linecache19 (0.5.13)

[...]

Using ruby-debug-base19 (0.11.25)

Using ruby-debug-base19x (0.11.30.pre10)

Using ruby-debug-ide (0.4.17.beta14) from git://github.com/ruby-debug/ruby-debug-ide.git (at master) with native extensions

Using ruby-debug19 (0.11.6)

I do have another version of base19x installed (0.11.29) but my GemFile lists the one from the above message..

I'm having the same issues and can't get the debugger to work. What's really frustrating (besides just spending hours on this and it's still not working) is that it worked earlier today, until I had to stop the debugger and it rescanned and found missing gems. Now I have to start all over trying to get debugger to work. You really really need to fix this! Here are the contents of my ruby-debug-base19x gem:

When I'm prompted to install missing gem files in RubyMine, I do and get the same error again: "Error running Development: [sitename]: Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist as well as the RubyMine Gem Manager RubyMine has detected that some of the gems required for [sitename] are not installed and I'm given the link to Install missing gems (which will produce the same error).

"rails new" writes that to the Gemfile. So this is hard to make work. I wish you guys would make it work the first time, for the next time I create a Rails project and forget this and spend god-knows-how-much time screwing around with it until I remember that I have to comment that out.

Basically the only way I could get this to work was by enabling access to my ~/.rvm folder and letting RubyMine do its thing. I also installed rvm with the clang compiler flag. Here are my relevant gem versions using RubyMine 4.5.4

this is getting really frustrating. I only switched from VIM to Rubymine for the debugger and since upgrading to the supported version of ruby 1.9.* I can't debug anything.. Just loaded up 5.0 hoping that it would work and boom.. can't connect to debuger.. tried with both 1.9.3 and 1.9.2 with the following gems.. I'm really tired of using puts to debug.. why did I pay for this IDE?

This fixed it for me! I had just migrated my mac os install from another machine and the computer name wasn't set. How annoying! Perhaps the jetbrains folks could find a way to check for this when trying to run debug and throw an error message if it doesn't exist.