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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.