gem 安装 ruby-debug19 - *** extconf.rb 失败 ***

gem install ruby-debug19 - *** extconf.rb failed ***

我最近大吃一惊并重新安装了 rvm 以解决一些问题。

然而,现在,当我尝试安装 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

日志只包含这些行。

有什么建议吗?

ruby-debug19 仅适用于 Ruby 1.9。对于 Ruby 2.0 及更高版本,请使用 byebug.

gem install byebug