2013-07-30 27 views
0

我想安装gems simple_xlsx_writer和fast_xs。但是我得到了两个宝石相同的下面的错误。即使对于simple_xlsx_writer。无法安装gems simple_xlsx_writer和fast_xs

Building native extensions. This could take a while... 
ERROR: Error installing simple_xlsx_writer: 
       ERROR: Failed to build gem native extension. 

     "C:/Program Files/Ruby187/bin/ruby.exe" extconf.rb 
checking for assert.h... no 
*** 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=C:/Program Files/Ruby187/bin/ruby 


Gem files will remain installed in D:/Users/pavana.prasad/.gem/New Folder/gems/fast_xs-0.8.0 for inspection. 
Results logged to D:/Users/pavana.prasad/.gem/New Folder/gems/fast_xs-0.8.0/ext/fast_xs/gem_make.ou 

请帮我安装宝石。

回答