RVM is a Ruby version management tool that also makes it possible to load and unload ruby
1. Install Curl
# sudo yum Install curl
# curl-l Get.rvm.io | Bash-s Stable
2. It is possible to fail as
3. Follow the prompts to enter the command
# Curl-ssl HTTPS://RVM.IO/MPAPIS.ASC | GPG2--import-
Continue typing at the command line
# curl-l Get.rvm.io | Bash-s Stable
This means the installation is successful.
4. Find the configuration file
# Find/-name rvm.sh
And make its configuration file effective
# source/etc/profile.d/rvm.sh
5. Download RVM Dependency
# RVM Repuirements
6. Continue
It should be installed here, RVM. If you haven't done that, just take a look at how to install Ruby on Rails on the CentOS 6 with RVM
7. See the software and version of RVM management under CentOS, where Ruby is also
# RVM List known
8, installation ruby-2.2
# RVM Install ruby-2.2.0
9. Delete a version of Ruby and delete the document and gems
# RVM Remove ruby-2.2.0--docs--gems
10. Select a version of Ruby to use in the system installation of two versions of Ruby
# RVM Use ruby-2.2.0--default
11. Query the currently used version
# RVM Info
CentOS 6.x installation RVM Configuring the Ruby development Environment