Simply call chruby --version to avoid redefining CHRUBY_VERSION.
Use `type -t` to detect ruby-install.
Prefix error messages with the function name.
Print to stderr.
Style.
If ruby-install is available, also print it's version.