2

我安装了带有--platform=x86_64标志的 libxml-ruby gem,每当我尝试时都会require 'xml'出错。

Ruby24-x64/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require':
126: The specified module could not be found.   

- I:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/libxml-ruby-3.0.0/lib/libxml_ruby.so (LoadError)

我检查了一下,libxml_ruby.so 在那个目录中。有想法该怎么解决这个吗?

我在 Windows 10 上使用 Ruby 版本 2.4.1。

4

0 回答 0