ruby: allow selecting rubies with the `ruby` key

This also adds chruby support, although this is a beta feature for now.