「Ruby on Rails」の環境構築をしているときに「rbenv」が必要でインストール進めていたら表題のエラーにあたったため、その解決方法のログです。
Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!
Please create a new installation in /opt/homebrew using one of the
"Alternative Installs" from:
https://docs.brew.sh/Installation
You can migrate your previously installed formula list with:
brew bundle dump