简体   繁体   English

在Windows中安装yajl-ruby时出现一些错误

[英]I have some errors while installing yajl-ruby in windows

Hello I'm trying to install ruby in windows, I installed all the gems but I couldn't install yajl-ruby when I run teh following command : gem install yajl-ruby . 您好,我正在尝试在Windows中安装ruby,我安装了所有gems,但是在执行以下命令时无法安装yajl-ruby: gem install yajl-ruby It gives me this error : Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... 它给了我这个错误: 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. 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 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. 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

It looks like your MSYS/MINGW installation doesn't contain the make utility. 看来您的MSYS / MINGW安装中不包含make实用程序。 Did you install it? 您安装了吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM