chruby changes the current Ruby version. It supports bash and zsh.

WWW: https://github.com/postmodern/chruby
