"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.
C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160303-4132-alefq2.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.
make failed, exit code 1
Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/json-1.8.3 for inspection.
Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/json-1.8.3/gem_make.out"
答案 0 :(得分:1)
我面临着同样的问题。我克隆的仓库中的Gemfile.lock
的json版本比我已经安装的版本旧。我没有设法卸载较新的版本,但是我确实用新版本替换了Gemfile.lock
中的旧版本号,现在看来可以正常工作了。
答案 1 :(得分:0)
您应该运行devkit installation scripts 特别要注意devkitvars.bat。