RVM +红宝石 1.9.1 + ruby-debug = 错误?
我试图在 TextMate 中的方法之间获得良好的导航。我很想在抽屉里放一份清单,但我想还没有这样的解决方案,对吗?因此,我尝试设置 RubyAMP 来与通过 RVM 安装的 Ruby 1.9.1-p378 一起使用,但遇到了一些麻烦。 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 ***
,但是 gem 页面 说它应该适用于 1.9.x。我该如何修复它?
I am trying to get a decent navigation between my methods in TextMate. I would love to have a list of them in a drawer, but I guess there is no such solution yet, right? Therefore I am trying to set up RubyAMP
to work with Ruby 1.9.1-p378
installed via RVM
, but have some troubles. RubyAMP needs ruby-debug
, and here is what I get if I try to install the 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 ***
However, the gem page says that it should work with 1.9.x. How can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
试试这个(来自 https://rvm.io/support/troubleshooting):
Try this(from https://rvm.io/support/troubleshooting):
最新的 ruby 1.9.2-p0 可以顺利运行
gem install ruby-debug19
。The latest ruby 1.9.2-p0 runs
gem install ruby-debug19
without a hitch.对于最新的 ruby 1.9.2-preview3
For the latest ruby 1.9.2-preview3