'Failed to build gem native extension' on Windows 7 (The system cannot find the path specified)

前端 未结 7 1563
一生所求
一生所求 2020-12-15 18:47

The problem in short

I\'m on Windows and am getting the following error when running gem install json —platform=ruby:

The system canno         


        
7条回答
  •  孤城傲影
    2020-12-15 18:57

    So this isn't the best answer in the world, but I seem to have stumbled on a solution. If I set the verbose flag, everything works fine:

    gem install json --platform=ruby --verbose
    

    There's a log here: http://gist.github.com/dannysmith/8055495

    That makes no sense - it'd be great if someone could explain why this seems to have fixed the error. Perhaps this is a bug in devkit?

提交回复
热议问题