Ask HN: Ruby 4 和 Unicorn 发生段错误 (kgio),如何发布 Gem?
2 分•作者: catatsuy•6 个月前
您好,我在 Ruby 4 上使用 unicorn 时遇到了段错误,看起来与 kgio 有关。
在 unicorn 的 master 分支 (git) 中,kgio 似乎已被移除 (或者 unicorn 不再依赖它),所以 Ruby 4 在那里可能可以运行。但是,目前还没有包含此更改的 RubyGems 发布版本。
我可以从 git 运行 unicorn,但它需要额外的“发布时”构建步骤 (生成 lib/unicorn/version.rb,使用 ragel 构建/安装 ext/unicorn_http,并复制 unicorn_http.so)。
解决方法 PR (确切步骤):https://github.com/catatsuy/private-isu/pull/853
我发给 unicorn-public 的邮件 (可能已失效):https://yhbt.net/unicorn-public/20251227071714.D9328160070@mail.catatsuy.org/T/#u
问题:联系 unicorn 维护者或请求 RubyGems 发布版本的最佳方法是什么?
查看原文
Hi, I hit a segmentation fault when using unicorn on Ruby 4. It looks related to kgio.<p>In unicorn master (git), it seems kgio was removed (or unicorn no longer depends on it), so Ruby 4 may work there. But there is no RubyGems release that includes this change.<p>I can run unicorn from git, but it needs extra “release-time” build steps (generate lib/unicorn/version.rb, build/install ext/unicorn_http with ragel, and copy unicorn_http.so).<p>Workaround PR (exact steps): https://github.com/catatsuy/private-isu/pull/853
My mail to unicorn-public (may be inactive): https://yhbt.net/unicorn-public/20251227071714.D9328160070@mail.catatsuy.org/T/#u<p>Question: What is the best way to contact the unicorn maintainer, or request a RubyGems release?