我一直在弄乱这个问题很长一段时间没有任何成功。我只想调试应用程序是RubyMine或Aptana。每当我尝试在调试模式下运行应用程序时,我都会遇到以下异常
"/home/bsikander/.rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': cannot load such file -- debase (LoadError)
from /home/bsikander/.rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require'
from /home/bsikander/.rvm/gems/ruby-2.0.0-p576/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide.rb:8:in `<top (required)>'
from /home/bsikander/.rvm/gems/ruby-2.0.0-p576/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `require_relative'
from /home/bsikander/.rvm/gems/ruby-2.0.0-p576/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `<top (required)>'
from /home/bsikander/.rvm/gems/ruby-2.0.0-p576/bin/rdebug-ide:23:in `load'
from /home/bsikander/.rvm/gems/ruby-2.0.0-p576/bin/rdebug-ide:23:in `<main>'"
我在互联网上搜索了这个并试图安装debase gem,但我得到了以下的说明
Building native extensions. This could take a while...
ERROR: Error installing debase:
ERROR: Failed to build gem native extension.
/home/bsikander/.rvm/rubies/ruby-2.0.0-p576/bin/ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-2.0.0-p576 provided with debugger-ruby_core_source gem.
**************************************************************************
*** 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.
我还安装了gem“debugger-ruby_core_source”,但仍然无法安装debase或调试应用程序。请帮助我或指出正确的方向。
我的Ruby版本是2.0.0。