Unable to find 'rdebug-ide' binary script. May need to install 'ruby-debug-ide' gem

需要安装  devkit   

   C:\Users\Administrator>gem install ruby-debug-ideFetching: ruby-debug-ide-0.4.16.gem (100%)ERROR:  Error installing ruby-debug-ide:        The 'ruby-debug-ide' native gem requires installed build toolsPlease update your PATH to include build tools or download the DevKitfrom 'http://rubyinstaller.org/downloads' and follow the instructionsat 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

  要先下载devkit  

    下载地址: http://rubyinstaller.org/downloads/

然后extract...

    

.\devkit>ruby dk.rb init
[INFO] found RubyInstaller v1.9.3 at C:/Ruby193

Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.

F:\study\ruby\devkit>ruby dk.rb review
Based upon the settings in the 'config.yml' file generated
from running 'ruby dk.rb init' and any of your customizations,
DevKit functionality will be injected into the following Rubies
when you run 'ruby dk.rb install'.

C:/Ruby193

.\devkit>ruby dk.rb install
[INFO] Updating convenience notice gem override for 'C:/Ruby193'
[INFO] Installing 'C:/Ruby193/lib/ruby/site_ruby/devkit.rb'

F:\study\ruby\devkit>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-deb
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

如果有上面的错误 或者 是win7 64bit (bug)

那么执行

 

Since it seems you have DevKit installed already, run this command

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

As mentioned in that post, it's a bug fixed in not yet released version of ruby-debug-ide

Edit:

This seems to work (Windows 7 64 bit):

gem install ruby-debug-ide --pre

gem install ruby-debug-base19x --pre

       

refer:  http://www.rubytips.org/2011/12/20/installing-ruby-on-windows-7-ruby-1-9-x-guide/

        https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值