Ruby 无法安装gems simple_xlsx_writer和fast_xs
我正在尝试安装gems simple_xlsx_writer和fast_xs。但我得到了相同的以下两个宝石的错误。即使是简单的作家Ruby 无法安装gems simple_xlsx_writer和fast_xs,ruby,Ruby,我正在尝试安装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 F
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
请帮助我安装gem。假设您使用了rubynstaller,您还需要DevKit来使用C扩展构建gem。简单的_xlsxgem依赖于使用C扩展的fast_x