2012-04-11 96 views
0

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

/home/eianni/.rvm/gems/[email protected]/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/[email protected]/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 

这可能是因为红宝石版本太旧,但有一个告诉Netbeans为ruby-debug-ide使用不同版本的方式。我可以安装没有问题ruby-debug-ide 0.10.0

我使用Ubuntu 10.04

回答

1

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

要知道在Netbeans的管理你的宝石:

工具 - >红宝石宝石 - >安装

+0

不回答我的问题。没有办法从那里改变ruby-debug来使用。它想要0.4.9,我不能在红宝石上安装它1.8.6 – dierre 2012-04-14 09:50:22

+0

好吧,你的问题不是很清楚,你说“红宝石版本太旧了”,你问“有没有办法告诉Netbeans使用不同的版本“。所以你想要什么?确保Netbean使用'ruby-debug-ide'的最新版本?你也看看这个链接http://wiki.netbeans.org/RubyDebugging吗? – 2012-04-14 10:12:32

+0

够公平的,我编辑了这个问题,以反映我指的是ruby-debug-ide。是的,我已经阅读过,但这与我的问题无关。调试器是一个与解释器分开使用的包,它安装在Ruby平台窗格中,因此两件事情没有连接到imho。 – dierre 2012-04-14 13:43:51