Author:
Source
If you recently updated your Mac to macOS 12.6, you might run into Ruby installation or other development issues. I wrote a detailed blog post going over various solutions: https://www.rubyonmac.dev/how-to-install-ruby-on-macos-12-6-apple-silicon/