[英]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.