NetBeans 6.9.1和ruby FastDebugger

时间:2012-04-11 16:01:54

标签: ruby netbeans

我需要使用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

1 个答案:

答案 0 :(得分:1)

要将ruby-debug-ide 0.4.9Ruby 1.8.6一起使用,您必须安装ruby-debug-base 0.10.3linecache 0.45

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

  

工具 - > Ruby Gems - >安装