Json -v 1.8.5를 설치하는 동안 아래 오류가 발생합니다.이 문제를 해결하도록 도와주세요.
Ruby 버전 : ruby 2.2.6p396 (2016-11-15 개정 56800) [x64-mingw32]
보석 버전 : 2.6.8
C:\Users\apzal.bahin\Documents\Business Media\Learning\Cucumber calabash\Calabas
hCucumberTest>gem install json -v 1.8.5
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/json-1.8.5/ext/jso
n/ext/generator
C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20170113-12584-dvx97z.rb extconf.rb
creating Makefile
current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/json-1.8.5/ext/json/ex
t/generator
make "DESTDIR=" clean
current directory: C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/json-1.8.5/ext/json/ex
t/generator
make "DESTDIR="
generating generator-x64-mingw32.def
compiling generator.c
make: x86_64-w64-mingw32-gcc: Command not found
make: *** [generator.o] Error 127
make failed, exit code 2
Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/json-1
.8.5 for inspection.
Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0
/json-1.8.5/gem_make.out
ruby와 devkit을 다시 설치했는데, 이제 잘 작동합니다. 의견을 보내 주셔서 감사합니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다