2012-09-29 8 views
0

Windows7을 실행 중이므로 json gem을 설치하는 데 큰 어려움이 있습니다. 내가 얻는 오류는 어디서나 해결되지 않았습니다. 나는 RailsInstaller을 통해 DevKit을 설치하고 내가 보석을 실행할 때 다음과 같은 오류 얻을 JSON 설치 한 :Windows7에 json gem을 설치할 수 없습니다.

C:\Users\Gavin>gem install json 
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:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb 
creating Makefile 

make 
Makefile:161: warning: overriding commands for target `install-so' 
Makefile:160: warning: ignoring old commands for target `install-so' 
Makefile:162: *** missing separator. Stop. 


Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/bin;/gems/json-1.7.5 for inspection. 
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/bin;/gems/json-1.7.5/ext/json/ext/generator/gem_make.out 

누구든지 여기에 갈 수 있습니다 무엇을 어떤 아이디어가 있습니까?

+0

경로가 다른 경우가있을 수 있습니다. – pguardiario

답변

0

devkit-folder가 경로에 있다고 가정합니까? 그렇지 않으면 "gem install json_pure"로 시도하십시오. 이유를 설명하는 문서를 참조하십시오. http://ruby.about.com/od/tasks/a/The-Json-Gem.htm

관련 문제