Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a valid gem libxml-ruby-x64-mingw32 for Ruby 3.0 on Windows #176

Closed
soundasleep opened this issue Nov 22, 2021 · 2 comments
Closed

Comments

@soundasleep
Copy link

The README says:

If you are running Windows, then install the libxml-ruby-x64-mingw32 gem.

However under Ruby 3.0 I can't seem to find this gem:

C:\path>gem install libxml-ruby-x64-mingw32
ERROR:  Could not find a valid gem 'libxml-ruby-x64-mingw32' (>= 0) in any repository

I assume this is because that gem is built with Ruby 2.7.

Can the README be edited to say "Ruby 2.7 only" or (preferably) a Ruby 3.0 gem is released of libxml-ruby-x64-mingw32?

@MSP-Greg
Copy link
Contributor

If you have MSYS2 tools installed at C:\msys64, you should be able to install it with:

ridk enable
pacman -S mingw-w64-x86_64-libxml2
gem install libxml-ruby --platform=ruby -- --with-opt-include=C:/msys64/mingw64/include/libxml2

For the soon to be released Ruby 3.1

ridk enable
pacman -S mingw-w64-ucrt-x86_64-libxml2
gem install libxml-ruby --platform=ruby -- --with-opt-include=C:/msys64/ucrt64/include/libxml2

@cfis
Copy link
Member

cfis commented Jan 16, 2022

I just released version 3.2.2 which packages Ruby 3.0 and Ruby 3.1 versions.

@cfis cfis closed this as completed Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants