Install chruby and ruby-install.