Installing ruby with rbenv on a Mac m2 using a bash terminal (because go rails only has zsh instructions)
Change terminal to bash first
chsh -s /bin/bash
Install home-brew using the command from their website (https://brew.sh)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"