What is the relationship between RBENV and the Ruby version
I am following the tutorial for installing Ruby on Rails on MacOS and I have run the commands rbenv install 3.0.2, rbenv local 3.0.2 and rbenv global 3.0.2. But when I run the command ruby -v I get ruby 2.6.3p62. I was expecting ruby 3.0.2. What have I misunderstood or what might I have done wrong?