Ruby chruby

From wikinotes

chruby is a simpler alternative to ruby rbenv.

Consider using nix and direnv instead.

Usage

cd yourproject/
echo "2.6.5" > .ruby-version

# now when you enter directory, correct ruby is used automatically