Rubyの拡張ライブラリー、extconf.rbじゃなくてCMakeLists.txtにしようかと思うも、
CMakeはシステムのRubyを使っちゃうから、gem installを実行しているRubyと違うバージョンでコンパイルされちゃうことあるんだよなあ
と思って避けていた。
でもこれ見ると、
github.com/rubygems/rubygems/b
target_rbconfigにその情報全部入ってる?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://bookwor.ms/users/KitaitiMakoto/statuses/114856125686054270 on your instance and quote it. (Note that quoting is not supported in Mastodon.)