Set a Default Ruby Version with Ruby Version Manager (RVM)
To set the system-wide version of Ruby with rvm
run:
|
|
For example, to use 3.1.2 as the default version system-wide, run:
|
|
Now this version will be used even when a new terminal tab or window is opened.
References: