RVM +红宝石 1.9.1 + ruby-debug = 错误?

发布于 2024-09-09 02:07:59 字数 700 浏览 6 评论 0原文

我试图在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

凯凯我们等你回来 2024-09-16 02:07:59

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

rvm gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.1-p378/"

Try this(from https://rvm.io/support/troubleshooting):

rvm gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.1-p378/"
孤者何惧 2024-09-16 02:07:59

最新的 ruby​​ 1.9.2-p0 可以顺利运行gem install ruby​​-debug19

The latest ruby 1.9.2-p0 runs gem install ruby-debug19 without a hitch.

转瞬即逝 2024-09-16 02:07:59

对于最新的 ruby​​ 1.9.2-preview3

gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.2-preview3"

For the latest ruby 1.9.2-preview3

gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.2-preview3"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文