gjtorikian / commonmarker

Ruby wrapper for the comrak (CommonMark parser) Rust crate
MIT License
416 stars 80 forks source link

Cannot install commonmarker on Ruby 3.3.0 #266

Closed okuramasafumi closed 6 months ago

okuramasafumi commented 6 months ago

My environment

Problem

https://rubygems.org/gems/commonmarker/versions/1.0.1-arm64-darwin

It seems Ruby 3.3.0 is not supported by the latest version of commonmarker. It says the supported versions are >= 3.1, < 3.3.DEV.

When I run gem i commonmarker on Ruby 3.3.0 it tries to compile but ends with error.

error.txt

Other info

I noticed that https://github.com/gjtorikian/commonmarker/blob/main/.github/workflows/cruby-build-and-install.yml doesn't have 3.3.0 in supported versions. I also noticed that it use rb_sys version 0.9.82 according to the log, but the latest version of rb_sys is 0.9.85. https://github.com/oxidize-rb/rb-sys/releases/tag/v0.9.85

gjtorikian commented 6 months ago

Sorry about that, fix will go out shortly!