我尝试安装调试,linecache宝石,但我得到了以下错误,调试器linecache安装错误
Building native extensions. This could take a while...
....
ERROR: Error installing debugger-linecache:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
*** 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=/usr/bin/ruby
extconf.rb:2:in `require': no such file to load -- debugger/ruby_core_source (LoadError)
from extconf.rb:2
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/debugger-linecache-1.1.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/debugger-linecache-1.1.1/ext/trace_nums/gem_make.out
我已经这样做:
sudo gem install debugger-ruby_core_source
我记得我以前曾与这种宝石的一个问题...尝试安装另一个版本:'创业板安装调试,linecache -v 1.1.0'。 –
这有同样的结果 – danny
我有没有解决方案相同的问题,如果任何人有任何建议,请张贴他们! – gbam