M1 Mac で Ruby 3.2.0 をインストールした際に libyaml でちょっとハマった

Ruby 3.2 から libyaml や libffi などのソースコードがバンドルされなくなった*1らしく、その影響で次のようなエラーが出た。どうやら libyaml が見つからないらしい。 $ rbenv install --verbose 3.2.0 (snip) yaml.h not found (snip) psych: Could not be configured. It will not be installed. Check ext/psych/mkmf…