无法在 Windows 10 上安装 commonmarker

时间:2021-06-03 03:10:42

标签: ruby windows-10 rubygems

我正在尝试安装 commonmarker,但是当我运行 gem install commonmarker 时出现此错误

Installing commonmarker 0.17.13 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commonmarker-0.17.13/ext/commonmarker
C:/Ruby30-x64/bin/ruby.exe -I C:/Ruby30-x64/lib/ruby/3.0.0 -r
./siteconf20210602-18672-e46llv.rb extconf.rb
creating Makefile

current directory:
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commonmarker-0.17.13/ext/commonmarker
make DESTDIR\= clean
current directory:
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commonmarker-0.17.13/ext/commonmarker
make DESTDIR\=
make failedNo such file or directory - make

Gem files will remain installed in
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commonmarker-0.17.13 for inspection.
Results logged to
C:/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/commonmarker-0.17.13/gem_make.out

An error occurred while installing commonmarker (0.17.13), and Bundler cannot
continue.
Make sure that `gem install commonmarker -v '0.17.13' --source
'https://rubygems.org/'` succeeds before bundling.

我尝试使用 RubyInstaller 安装 devkit,但我得到了权限被拒绝的错误,所以我使用常规安装程序安装了 MSYS2,但这并没有解决 commonmarker 问题

0 个答案:

没有答案