Ruby ::错误在windows上安装ruby-debug-ide

时间:2012-09-06 21:41:35

标签: ruby debugging

我提到这篇文章是为了安装How to debug ruby on rails in eclipse aptana plugin ruby​​-debug-ide和这个link

我已经安装了

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/ 

我遗失了什么?

1 个答案:

答案 0 :(得分:5)

你试过吗

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

It should work