我一直试图解决这个问题,但我还是想不通。 JSON仍未安装。我将非常感谢您的帮助
C:\Users\Max Billionaire>gem install json --no-rdoc --no-ri
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:/ruby/lib/ruby/gems/2.1.0/gems/json 1.8.3/ext/json/ext/generator
C:/ruby/bin/ruby.exe -r ./siteconf20160417-268-iqr9ay.rb extconf.rb
creating Makefile
current directory: C:/ruby/lib/ruby/gems/2.1.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
current directory: C:/ruby/lib/ruby/gems/2.1.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
generating generator-i386-mingw32.def
compiling generator.c
cc1.exe: internal compiler error: Illegal instruction
Please submit a full bug report, with preprocessed source if appropriate.
See <mingw-w64-public@lists.sourceforge.net> for instructions.
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in C:/ruby/lib/ruby/gems/2.1.0/gems/json-1.8.3 for inspection.
Results logged to C:/ruby/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/json-
1.8.3/gem_make.out`