RubyMine 调试器降低 LoadError

RubyMine debugger debase LoadError

几个月前,RubyMine 的调试功能突然崩溃。 当我 运行 调试器时,我看到以下错误消息:

/Applications/RubyMine.app/Contents/rb/gems/debug_preloader.rb:4:in require': cannot load such file -- debase (LoadError) from /Applications/RubyMine.app/Contents/rb/gems/debug_preloader.rb:4:in ' from -e:1:in `require'

Process finished with exit code 1

我重新安装了 rbenv、ruby 2.0.0-p645、捆绑器 1.9.4 和 rails。问题依旧。

RubyMine 团队已回应,将在未来的版本中修复此问题。

https://youtrack.jetbrains.com/issue/RUBY-18728

已建议两个临时修复:

  1. Upgrade your Ruby version, since https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/
  2. Change your Ruby version manager to RVM, debase works fine with it.