2

我参考这篇文章在 eclipse aptana 插件ruby​​-debug-ide 和这个链接中安装How to debug on rails on rails 。

我已经安装

C:\Users>gem install ruby-debug-ide --platform=ruby --pre
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Successfully installed ruby-debug-ide-0.4.17.beta14
1 gem installed
Installing ri documentation for ruby-debug-ide-0.4.17.beta14...
Installing RDoc documentation for ruby-debug-ide-0.4.17.beta14...

但是当我安装 ruby​​-debug-ide 时出现此错误

C:\Users>gem install ruby-debug-ide --platform=ruby
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-debug-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

这是我的环境

C:\Users>gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.11
  - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby193/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: C:/Ruby193/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby193/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/Ruby193/lib/ruby/gems/1.9.1
     - C:/Users/username/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/ 

我错过了什么?

4

1 回答 1

5

你试过了吗

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

它应该工作

于 2012-09-06T21:58:07.940 回答