Cannot install ruby-debug gem on Windows

試著忘記壹切 提交于 2019-11-29 04:21:05

Execute Below command and its works

C:\Users\Steve>gem install ruby-debug --platform=mswin32

I ran into the same problem. Following steps should get you through:

  1. Install ruby using RubyInstaller
  2. Install devkit
  3. Install ruby-debug19 instead of ruby-debug.

    gem install ruby-debug19

Run: gem install ruby-debug19

More info...

this port of ruby-debug that works on 1.9.2 and 1.9.3 worked for me. Just type

gem install debugger

I found this answer worked easiest for me: http://github.com/oneclick/rubyinstaller/wiki/development-kit

The error seems clear:

Can't handle 1.9.x yet

*** extconf.rb failed ***

You're trying to install ruby-debug gem, which is compatible only with Ruby 1.8.x on Ruby 1.9.x

Please install ruby-debug19, which is compatible with Ruby 1.9.x

gem install ruby-debug19

Also you can try this:

gem install ruby-debug-ide --platform=ruby --pre
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!