Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 无法安装gems simple_xlsx_writer和fast_xs_Ruby - Fatal编程技术网

Ruby 无法安装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

我正在尝试安装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

请帮助我安装gem。

假设您使用了rubynstaller,您还需要DevKit来使用C扩展构建gem。简单的_xlsxgem依赖于使用C扩展的fast_x