Mac do not change version from system ruby to 3.0.2

Hi I have a problem with ruby on my M1 Mac
I tried to install Ruby 3.0.2 with Homebrew. I used this guide

but after ruby -v it shows still the system ruby version. now after hours of testing, I have no idea what to do :slight_smile: I use the Mac M1 with Monterey

The general advice is to stay away from the macOS system ruby as Apple only has it there for backward compatibility.

You should use rvm or rbenv (I prefer rbenv) to switch Ruby versions. If you need to switch to an environment on the fly it’s as easy as rbenv shell 3.0.3 for example.