Our Ruby projects uses bundler to setup all required gems and version for production.
On our local developer environments we use rubymine for debugging.
Thus we installed all the necessary gems (debug-base and debug-ide) only on our local machines and did NOT put them in the Gemfile.
For the defautl runtime configuration we therefore set not to use bundler for running rspec files (edit configurations -> edit defaults -> rspec -> tab bundler; removed checkbox "run the script in context of the bundle")
When I try to run a single rspec test in debug mode, RubyMine always prompts me to update the current installed ruby-debug and ruby-debug-ide gem, because they are outdated.
Clicking YES for both gems fails with an error.
The test will also not execute with an error: Can't connect to debugger process.
Checking the configuration for the selecte test, it has the above mentioned checkbox selected.
After unselecting it again, all will run fine and I can debug my test.
Is this a potential bug?
Hope I could explain the setup good enough. Please let me know if you need more details.
Versions in use:
RubyMine: 3.0 RC 2