代码之家  ›  专栏  ›  技术社区  ›  Andy

rvm+ruby 1.9.1+ruby debug=错误?

  •  4
  • Andy  · 技术社区  · 15 年前

    我正在尝试在textmate的方法之间获得一个不错的导航。我很想把它们放在抽屉里,但我想现在还没有这样的解决办法,对吧?所以我想建立 RubyAMP 与之合作 Ruby 1.9.1-p378 安装通过 RVM 但是有一些麻烦。RubyAMP需要 ruby-debug 如果我试着安装宝石,这就是我得到的

    $ 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 ***
    

    然而, the gem page 说它应该和1.9.x一起工作。我该如何修复它?

    3 回复  |  直到 12 年前
        1
  •  5
  •   mpapis    12 年前

    试一试 https://rvm.io/support/troubleshooting ):

    rvm gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.1-p378/"
    
        2
  •  5
  •   bastibe    14 年前

    最新的Ruby1.9.2-p0运行 gem install ruby-debug19 没有任何障碍。

        3
  •  0
  •   gdonald    15 年前

    对于最新的Ruby1.9.2-Preview3

    gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.2-preview3"
    
    推荐文章