How to setup Ruby Install chruby (or chruby-fish), and ruby-install. Declare the ruby version to use e.g., echo "ruby-2.7.5" > .ruby-version.