Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

debase LoadError when debugging in RubyMine with ruby 2.0.0 on OS X Mavericks

After upgrading to OS X Mavericks (10.9.2), my RubyMine can no longer debug. It quits unexpectedly with the following error:

Testing started at 1:37 PM ... /Users/vinny.ly/.rvm/rubies/ruby-2.0.0-p451/lib/ruby/gems/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide.rb:8:in `require': cannot load such file -- debase (LoadError)

I have the following Ruby and gems

$ ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin13.1.0]

$ gem list debugger
debugger-ruby_core_source (1.3.4)

$ gem list ruby-debug-ide
ruby-debug-ide (0.4.23.beta1, 0.4.22)

$ gem list debase
debase (0.0.9)

I am running RubyMine 6.3. I have tried reverting to previous versions 6.0.3 and 5.4.3 but I get the same error.

I have also tried uninstalling and re-installing the gems, which didn't help.

like image 324
VinnyQ77 Avatar asked May 15 '14 18:05

VinnyQ77


1 Answers

I managed to fix this problem by upgrading ruby-debug-ide from 0.4.23beta to 0.4.23: gem install ruby-debug-ide (outside of your project directory), then restart RubyMine.

like image 177
Kent Mewhort Avatar answered Sep 20 '22 17:09

Kent Mewhort