Setup Ubuntu 22.10 Kinetic Kudu Discussion
I would use rvm or rbenv to manage ruby versions on per projects with the standard .ruby-version
rvm is a heavier beast compared to rbenv. if you are not changing ruby version often. us rbenv.. otherwise use rvm
to install rvm
curl -sSL https://get.rvm.io | bash
to install a ruby version
rvm install 3.2.3
We recommend ASDF instead because it supports other programming languages, like Ruby, Node.js, Python, etc. This is important because Rails applications will often need Node as their JavaScript gets more complicated.
It also uses .ruby-version and .node-version files just like the other language managers.
Plus, it's simpler than RVM the which requires a deeper shell integration.