When opening rails project in terminal, you have to manually switch rvm gemset all the time with the command:
rvm gemset use mygemset
Found the command
rvm --ruby-version use 3.3.0@mygemset
It creates two files in the project
.ruby-version
с версией ruby
ruby-3.3.0
.ruby-gemset
с названием gemset
mygemset
After that, when opening a project, the right ruby version with the right gemset will be automatically selected