Thoughs as to why on an Apple M1
rbenv lists:
rbenv versions
system
2.7.6
* 3.1.2 (set by /Users/xxxxxx/.rbenv/version)
and ruby -v
shows:
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin21
Enter this command in your terminal:
eval "$(rbenv init - zsh)"