2014-09-26 3 views
3

localhost (Windows - 8)에 Unicorn을 설치할 수 없습니다.Windows에 Unicorn을 설치할 수 없습니다.

>gem install unicorn 
Temporarily enhancing PATH to include DevKit... 
Building native extensions. This could take a while... 
ERROR: Error installing unicorn: 
     ERROR: Failed to build gem native extension. 

    E:/software/Ruby200-x64/bin/ruby.exe extconf.rb 
checking for CLOCK_MONOTONIC in time.h... yes 
checking for clockid_t in time.h... yes 
checking for clock_gettime() in -lrt... no 
checking for t_open() in -lnsl... no 
checking for socket() in -lsocket... no 
checking for poll() in poll.h... no 
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no 
getaddrinfo required 
*** extconf.rb failed *** 
Could not create Makefile due to some reason, probably lack of necessary 
libraries and/or headers. Check the mkmf.log file for more details. You may 
need configuration options. 

Provided configuration options: 
     --with-opt-dir 
     --without-opt-dir 
     --with-opt-include 
     --without-opt-include=${opt-dir}/include 
     --with-opt-lib 
     --without-opt-lib=${opt-dir}/lib 
     --with-make-prog 
     --without-make-prog 
     --srcdir=. 
     --curdir 
     --ruby=E:/software/Ruby200-x64/bin/ruby 
     --with-rtlib 
     --without-rtlib 
     --with-nsllib 
     --without-nsllib 
     --with-socketlib 
     --without-socketlib 


Gem files will remain installed in E:/software/Ruby200-x64/lib/ruby/gems/2.0.0/gems/kgio-2.9.2 for inspection. 
Results logged to E:/software/Ruby200-x64/lib/ruby/gems/2.0.0/gems/kgio-2.9.2/ext/kgio/gem_make.out 

왜? 내가 도대체 ​​뭘 잘못하고있는 겁니까? 어떻게 해결할 수 있습니까?

Ruby on Rails 4.1.4 btw를 사용하고 있습니다.

미리 감사드립니다.

+0

나는이 같은 오류가 발생했습니다 ... –

+0

@frozenheart이 gemfile에서 다음과 같이 지정해보십시오 :'platform : mswin do gems 'unicorn' end' – anusha

답변

관련 문제