5

事实是,我是 ruby​​ on rails 开发的新手。并不是说我不能在 aptana studio 3 上安装 gem install ruby​​-debug-ide。

gem install ruby-debug-ide  
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-ide:
        ERROR: Failed to build gem native extension.

        c:/Ruby193/bin/ruby.exe mkrf_conf.rb
Building native extensions.  This could take a while...


Gem files will remain installed in c:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debu
g-ide-0.4.16 for inspection.
Results logged to c:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/ext/
gem_make.out

有人可以帮助我吗?

4

1 回答 1

9

由于您似乎已经安装了 DevKit,请运行此命令

gem install ruby-debug-ide --platform=ruby --pre

如那篇文章所述,这是尚未发布的 ruby​​-debug-ide 版本中修复的错误

编辑:

这似乎有效(Windows 7 64 位):

gem install ruby-debug-ide --pre

gem install ruby-debug-base19x --pre
于 2012-08-02T21:48:59.890 回答