0

我需要使用 ruby​​ 1.8.6 来运行旧脚本。我已经安装了 NetBeans 6.9.1,我正在尝试使用快速调试器,但是当我尝试安装它时,我得到:

/home/eianni/.rvm/gems/ruby-1.8.6-p420@xml2rpc/gems/rubygems-bundler-0.3.0/lib/rubygems_bundler/regenerate_binstubs_command.rb:34: warning: parenthesize argument(s) for future version
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-ide:
    ERROR: Failed to build gem native extension.

/home/eianni/.rvm/rubies/ruby-1.8.6-p420/bin/ruby mkrf_conf.rb
/home/eianni/.rvm/gems/ruby-1.8.6-p420@xml2rpc/gems/rubygems-bundler-0.3.0/lib/rubygems_bundler/regenerate_binstubs_command.rb:34: warning: parenthesize argument(s) for future version


Gem files will remain installed in /home/eianni/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9 for inspection.
Results logged to /home/eianni/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/ext/gem_make.out

这可能是因为 ruby​​ 版本太旧了,但是有没有办法告诉 Netbeans 为 ruby​​-debug-ide 使用不同的版本。我可以安装没有问题ruby-debug-ide 0.10.0

我正在使用 Ubuntu 10.04

4

1 回答 1

1

为了使用ruby-debug-ide 0.4.9with Ruby 1.8.6,您必须安装ruby-debug-base 0.10.3linecache 0.45

要了解和管理您在 Netbeans 中的宝石:

工具 -> Ruby Gems -> 已安装

于 2012-04-14T08:36:29.820 回答