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

in progress: ship native gem with precompiled Ruby 3.2 support #2740

Closed
flavorjones opened this issue Dec 25, 2022 · 6 comments
Closed

in progress: ship native gem with precompiled Ruby 3.2 support #2740

flavorjones opened this issue Dec 25, 2022 · 6 comments

Comments

@flavorjones
Copy link
Member

This is an issue just to let folks know that this is on its way. Some last-minute changes were made in Ruby around how C extensions are linked on MacOS (Darwin) and we're working through the details.

If you're interested, you can read up a bit on those changes at rake-compiler/rake-compiler-dock#87 or #2732

I hope to have a version shipped within the next few days.

@flavorjones flavorjones pinned this issue Dec 25, 2022
@kapso
Copy link

kapso commented Dec 25, 2022

@flavorjones Also running into this issue on Linux...

nokogiri-1.13.10-x86_64-linux requires ruby version < 3.2.dev, >= 2.6, which is incompatible with the current version, 3.2.0

@flavorjones
Copy link
Member Author

We haven't shipped native 3.2 support for any platform yet. No need to comment to let me know, I'm the one working on it! Thanks for your patience.

@flavorjones
Copy link
Member Author

Use the "Ruby" platform and compile upon installation, or use system libraries, if you need it to work with 3.2 right now

@edmz
Copy link

edmz commented Dec 26, 2022

In case someone else needs this, the way to do it is with this in the Gemfile:

gem 'nokogiri', force_ruby_platform: true

(let me know if I didn't get this right)

@kapso
Copy link

kapso commented Dec 26, 2022

@edmz I tried this, and it did not work, at least not on Heroku

cotes2020 added a commit to cotes2020/jekyll-theme-chirpy that referenced this issue Dec 27, 2022
- Jekyll 4.3.0 introduced `webrick` for Ruby 3.x
- Jekyll's dependency `nokogiri` does not yet support Ruby 3.2. See: sparklemotion/nokogiri#2740
ezekg referenced this issue in keygen-sh/keygen-api Dec 28, 2022
@flavorjones
Copy link
Member Author

I've cut a prerelease: Release 1.14.0.rc1 / 2022-12-29 · sparklemotion/nokogiri

Please let's move conversation about Ruby 3.2 support there. Thank you!

@sparklemotion sparklemotion locked as resolved and limited conversation to collaborators Dec 29, 2022
@flavorjones flavorjones unpinned this issue Dec 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants