新手问题 Failed to Install Gems. Following gems were not installed:[Error installing debase-0.0.9.gem:]

string2020 · 2014年09月23日 · 最后由 guyanbiao 回复于 2014年09月23日 · 6516 次阅读
Failed to Install Gems. Following gems were not installed:
/home/ly/vs/rubyMine-6.3.3/rb/gems/debase-0.0.9.gem:  Error installing debase-0.0.9.gem:
ERROR: Failed to build gem native extension.      /home/ly/.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.  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/ly/.rvm/rubies/ruby-2.0.0-p576/bin/ruby    --with-ruby-dir     --without-ruby-dir  --with-ruby-include=${ruby-dir}/include     --with-ruby-lib     --without-ruby-lib=${ruby-dir}/  extconf failed, exit code 1  Gem files will remain installed in /home/ly/.rvm/gems/ruby-2.0.0-p576@jshop/gems/debase-0.0.9 for inspection. Results logged to /home/ly/.rvm/gems/ruby-2.0.0-p576@jshop/extensions/x86_64-linux/2.0.0/debase-0.0.9/gem_make.out

rubymine 里面也是无法调试:

/home/ly/.rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- debase_internals (LoadError)
    from /home/ly/.rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/ly/.rvm/gems/ruby-2.0.0-p576@jshop/gems/debase-0.0.9/lib/debase.rb:4:in `<top (required)>'
    from /home/ly/.rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/ly/.rvm/rubies/ruby-2.0.0-p576/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/ly/.rvm/gems/ruby-2.0.0-p576@jshop/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide.rb:8:in `<top (required)>'
    from /home/ly/.rvm/gems/ruby-2.0.0-p576@jshop/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `require_relative'
    from /home/ly/.rvm/gems/ruby-2.0.0-p576@jshop/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `<top (required)>'
    from -e:1:in `load'
    from -e:1:in `<main>'

去谷歌搜一下

需要 登录 后方可回复, 如果你还没有账号请 注册新账号