用RubyGems安装Jekyll时出现问题(Make错误)

用RubyGems安装Jekyll时出现问题(Make错误),ruby,makefile,rubygems,jekyll,Ruby,Makefile,Rubygems,Jekyll,我正在安装杰基尔。我有Ruby 3.0.1p64(2021-04-05版本0fb782ee38)[x64-mingw32]和RubyGems 3.2.15。我试着用gem和choco安装make,并使用GNU.exe文件,它看起来总是正常的 执行命令gem install jekyll时,出现以下错误: ERROR: Failed to build gem native extension. current directory: C:/tools/ruby30/lib/ruby

我正在安装杰基尔。我有Ruby 3.0.1p64(2021-04-05版本0fb782ee38)[x64-mingw32]和RubyGems 3.2.15。我试着用gem和choco安装make,并使用GNU.exe文件,它看起来总是正常的

执行命令
gem install jekyll
时,出现以下错误:

      ERROR: Failed to build gem native extension.

  current directory: C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
C:/tools/ruby30/bin/ruby.exe -I C:/tools/ruby30/lib/ruby/3.0.0 -r ./siteconf20210520-2132-gijlna.rb extconf.rb
creating Makefile

current directory: C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make DESTDIR\= clean
C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/make-0.3.1/bin/make:4:in `<top (required)>': undefined local variable or method `make' for main:Object (NameError)
      from C:/tools/ruby30/bin/make:23:in `load'
      from C:/tools/ruby30/bin/make:23:in `<main>'

current directory: C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make DESTDIR\=
C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/make-0.3.1/bin/make:4:in `<top (required)>': undefined local variable or method `make' for main:Object (NameError)
      from C:/tools/ruby30/bin/make:23:in `load'
      from C:/tools/ruby30/bin/make:23:in `<main>'

make failed, exit code 1

Gem files will remain installed in C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0 for inspection.
Results logged to C:/tools/ruby30/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/http_parser.rb-0.6.0/gem_make.out
错误:无法生成gem本机扩展。
当前目录:C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
C:/tools/ruby30/bin/ruby.exe-ic:/tools/ruby30/lib/ruby/3.0.0-r./siteconf20210520-2132-gijlna.rb extconf.rb
创建Makefile
当前目录:C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
使DESTDIR\=干净
C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/make-0.3.1/bin/make:4:in`':未定义的局部变量或main:Object的“make”方法(NameError)
从C:/tools/ruby30/bin/make:23:“装入”
来自C:/tools/ruby30/bin/make:23:in`'
当前目录:C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
制作DESTDIR\=
C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/make-0.3.1/bin/make:4:in`':未定义的局部变量或main:Object的“make”方法(NameError)
从C:/tools/ruby30/bin/make:23:“装入”
来自C:/tools/ruby30/bin/make:23:in`'
使失败,退出代码1
Gem文件仍将安装在C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/http_parser.rb-0.6.0中以供检查。
结果记录到C:/tools/ruby30/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/http_parser.rb-0.6.0/gem_make.out