RVM + Ruby 1.9.1 + ruby​​-debug =错误?

And*_*rei 4 ruby gem textmate ruby-debug rvm

我试图在TextMate中的方法之间进行正确的导航.我很想在抽屉里找到它们的清单,但我想还没有这样的解决方案,对吧?因此我试图设置RubyAMPRuby 1.9.1-p378已安装的通道RVM,但有一些麻烦.RubyAMP需要ruby-debug,如果我尝试安装gem,这就是我得到的

$ rvm gem install ruby-debug
info: ruby-1.9.1-p378: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-darwin10] 
Building native extensions.  This could take a while...

ERROR:  Error installing ruby-debug:
    ERROR: Failed to build gem native extension.

/Users/andrei/.rvm/rubies/ruby-1.9.1-p378/bin/ruby extconf.rb
Can't handle 1.9.x yet
*** extconf.rb failed ***
Run Code Online (Sandbox Code Playgroud)

但是,gem页面说它应该与1.9.x一起使用.我该如何解决?

car*_*rji 5

试试这个(来自https://rvm.io/support/troubleshooting):

rvm gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.1-p378/"
Run Code Online (Sandbox Code Playgroud)


bas*_*ibe 5

最新的红宝石1.9.2-p0顺畅运行gem install ruby-debug19.