rails安装出错怎么办
请教一下各位高手
我的rails安装出这个错怎么解决
C:\Windows\System32>gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
D:/Ruby/bin/ruby.exe extconf.rb
creating Makefile
make
D:/Ruby/bin/ruby -e "puts 'EXPORTS', 'Init_parser'" > parser-i386-mingw32.def
gcc -I. -ID:/Ruby/include/ruby-1.9.1/i386-mingw32 -I/D/Ruby/include/ruby-1.9.1/ruby/backward -I/D/Ruby/include/ruby-1.9.1 -I. -O3 -g -Wextra -Wno-unused-param
eter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -O3 -Wall -o parser.o -c parser.c
cc1.exe: error: unrecognized command line option "-Wno-missing-field-initializers"
make: *** [parser.o] Error 1
Gem files will remain installed in D:/Ruby/lib/ruby/gems/1.9.1/gems/json-1.6.3 for inspection.
Results logged to D:/Ruby/lib/ruby/gems/1.9.1/gems/json-1.6.3/ext/json/ext/parser/gem_make.out
[解决办法]
windows屏了官方ip, 用代理, 或下载安装。