The following worked for me, you dont need to buy any tools like some definitive guides say.
> brew install rvm
> rvm reinstall 3.3.0 --with-openssl-dir=/opt/homebrew/opt/openssl@3
> gem install rails
> rails --version
Rails on M1 Mac
The following worked for me, you dont need to buy any tools like some definitive guides say.
> brew install rvm
> rvm reinstall 3.3.0 --with-openssl-dir=/opt/homebrew/opt/openssl@3
> gem install rails
> rails --version