2015-06-19 154 views
0

我最近吹起來並重新安裝rvm來解決一些問題。gem install ruby​​-debug19 - *** extconf.rb失敗***

但是現在,當我嘗試安裝ruby-debug19我得到:

$ gem install ruby-debug19 

... then ... 

Building native extensions. This could take a while... 
ERROR: Error installing ruby-debug19: 
    ERROR: Failed to build gem native extension. 

    /Users/snowcrash/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150619-25075-s8ve57.rb extconf.rb 
checking for vm_core.h... no 
*** 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=/Users/snowcrash/.rvm/rubies/ruby-2.2.1/bin/$(RUBY_BASE_NAME) 
    --with-ruby-dir 
    --without-ruby-dir 
    --with-ruby-include 
    --without-ruby-include=${ruby-dir}/include 
    --with-ruby-lib 
    --without-ruby-lib=${ruby-dir}/lib 
/Users/snowcrash/.rvm/gems/ruby-2.2.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39:in `create_makefile_with_core': uninitialized constant Ruby_core_source::Config (NameError) 
    from extconf.rb:19:in `<main>' 

extconf failed, exit code 1 

Gem files will remain installed in /Users/snowcrash/.rvm/gems/ruby-2.2.1/gems/linecache19-0.5.12 for inspection. 
Results logged to /Users/snowcrash/.rvm/gems/ruby-2.2.1/extensions/x86_64-darwin-14/2.2.0-static/linecache19-0.5.12/gem_make.out 

和日誌只包含這些行。

有什麼建議嗎?

回答

0

ruby​​-debug19僅適用於Ruby 1.9。對於Ruby 2.0及更高版本,使用byebug

gem install byebug 
相關問題