[英]I have some errors while installing yajl-ruby in windows
您好,我正在尝试在Windows中安装ruby,我安装了所有gems,但是在执行以下命令时无法安装yajl-ruby: gem install yajl-ruby
。 它给了我这个错误: Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
ERROR: Error installing yajl-ruby:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/yajl-ruby-1.3.0/ext/yajl C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20170617-12896-vt754k.rb extconf.rb creating Makefile
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/yajl-ruby-1.3.0/ext/ya jl make "DESTDIR=" clean 'make' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/yajl-ruby-1.3.0/ext/yajl
make "DESTDIR=" 'make' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/yajl-ruby-1.3.0/ext/yajl
make "DESTDIR=" 'make' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
make failed, exit code 1
Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/yajl-r uby-1.3.0 for inspection. Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0 /yajl-ruby-1.3.0/gem_make.out
看来您的MSYS / MINGW安装中不包含make
实用程序。 您安装了吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.