CentOS 6.x installation RVM Configuring the Ruby development Environment

Source: Internet
Author: User
Tags ruby on rails

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.