To set the system-wide version of Ruby with rvm run:
Shell
rvm --default use <version number>For example, to use 3.1.2 as the default version system-wide, run:
Shell
rvm --default use 3.1.2Now this version will be used even when a new terminal tab or window is opened.
References: