RubyMine バージョン 4.0.1 を使用しており、Ruby を 2.0.0 にアップグレードしました。
(開発またはテストのいずれかで) デバッグしようとすると、次のメッセージが表示されます。
The gem ruby-debug-base required by the debugger is not currently installed. Would you like to install it?
「はい」をクリックすると、次のエラーが表示されます。
Error running Development: air: Failed to Install Gems. Following gems were not installed: linecache (0.46): Error installing linecache: ERROR: Failed to build gem native extension. /home/yehuda/.rvm/rubies/ruby-2.0.0-p195/bin/ruby extconf.rb Can't handle 1.9.x yet *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/yehuda/.rvm/rubies/ruby-2.0.0-p195/bin/ruby Gem files will remain installed in /home/yehuda/.rvm/gems/ruby-2.0.0-p195@global/gems/linecache-0.46 for inspection. Results logged to /home/yehuda/.rvm/gems/ruby-2.0.0-p195@global/gems/linecache-0.46/ext/gem_make.out /home/yehuda/Downloads/RubyMine-4.0.1/rb/gems/ruby-debug-base-0.10.5.jb2.gem: Error installing ruby-debug-base-0.10.5.jb2.gem: ERROR: Failed to build gem native extension. /home/yehuda/.rvm/rubies/ruby-2.0.0-p195/bin/ruby extconf.rb Can't handle 1.9.x yet *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/yehuda/.rvm/rubies/ruby-2.0.0-p195/bin/ruby Gem files will remain installed in /home/yehuda/.rvm/gems/ruby-2.0.0-p195@global/gems/linecache-0.46 for inspection. Results logged to /home/yehuda/.rvm/gems/ruby-2.0.0-p195@global/gems/linecache-0.46/ext/gem_make.out
この記事を読みました - http://blog.jetbrains.com/ruby/2013/01/rubymine-enoki-eap-enjoy-ruby-2-0-apps-debugging/ 5.4を試しましたが、同じ問題が発生しました。