Check installed version

I would like to check if the stable version of a ruby is installed. Something like `ruby-install --query ruby`.

Using the `--no-reinstall` option returns a non-zero status when it is already installed, but it is difficult to systematically distinguish between "already installed" and "build failure".