I have been using PyCharm as my primary editor for Django projects for a while now. I recently joined another project that is based on Ruby on Rails. Everybody else in the team is using VS code, I wanted to use RubyMine because of my good experience with PyCharm.
Unfortunately I am having problems using RubyMine on this project. I am getting the following errors when I try to run the debugger:
Fast Debugger (ruby-debug-ide 2.3.8, debase 2.3.8, file filtering is supported, block breakpoints supported, smart steps supported, obtaining return values supported, partial obtaining of instance variables supported) listens on 0.0.0.0:33171
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
io-console (~> 0.5)
Available/installed versions of this gem:
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
FATAL ERROR: Looks like `debug` gem is loaded into the environment. This version of `debase` is unable to work together with `debug` gem. Please, remove it from the Gemfile before debugging in RubyMine.
I tried few things that I can think of. For example I tried to run the project on Ruby 2.7.6. This did not work because RubyMine still try to use the same version of the debase.
I tried to update debase to a newer version. First I uninstalled every single version of debase from the system. Then I installed a newer version of debase. I used following commands.
> gem uninstall debase
> gem uninstall debase-ruby_core_source
> gem install debase -v 0.2.4.1
> gem install debase-ruby_core_source
After this, when I tried to run the debugger on RubyMine, it complained that debase was missing. When I clicked to install the package, it still installed older version of debase, then I got the same error when I tried to run the debugger.
Do you guys have any suggestions for me about running the debugger on this project? I really do not want to start using VS code. I hope I can get RubyMine to work on this project.