我正在尝试在Netbeans 6.9.1上调试rails项目(redmine)
当我点击调试项目时,我收到消息:
点击安装快速调试程序后,出现以下错误:
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.
/home/anatoly/.rvm/rubies/ruby-2.2.3/bin/ruby mkrf_conf.rb
Building native extensions. This could take a while...
rake failed, exit code 1
Gem files will remain installed in /home/anatoly/.rvm/gems/ruby-2.2.3/gems/ruby-debug-ide-0.4.9 for inspection.
Results logged to /home/anatoly/.rvm/gems/ruby-2.2.3/extensions/x86_64-linux/2.2.0/ruby-debug-ide-0.4.9/gem_make.out
gem_make.out
没有非常丰富的信息和帮助,至少对我而言:
/home/anatoly/.rvm/rubies/ruby-2.2.3/bin/ruby mkrf_conf.rb
Building native extensions. This could take a while...
rake failed, exit code 1
我正在Ubuntu 14.04.1
使用ruby 2.2.3p173
和rails 4.2.4
我可能做错了什么?
答案 0 :(得分:4)
我已手动安装ruby-debug-ide
-v 0.4.33 gem并且问题已解决
gem install ruby-debug-ide -v 0.4.33
答案 1 :(得分:2)
gem install ruby-debug-ide
将自动安装ruby-debug-ide版本0.6,但netbeans 6.9.1需要版本0.4.3。
gem install ruby-debug-ide -v 0.4.33
应该会成功。