Linux upgrade Ruby

Source: Internet
Author: User

First, Introduction

Ruby is an open-source, object-oriented programming server-side scripting language that was designed and developed by as まつもとゆきひろ/yukihiro Matsumoto in Japan in the mid 1990s. In the Ruby community, Matsumoto is also known as Matts (Matz). Ruby can run on a variety of platforms, such as Windows, MAC OS, and UNIX versions.

Reference: http://blog.sina.com.cn/s/blog_62739908010168wh.html

Second, installation RVM

Bash-s Stable < < (Curl-s https://~/.RVM/SCRIPTS/RVM

Third, the use of RVM for Ruby installation and switching

Query the ruby that is already installed

RVM List

List known versions of Ruby

RVM list known

Install a ruby version

Install 1.9. 3

Use a ruby version

1.9. 3

If you want to set as the default version, you can

1.9. 3 --default

Uninstalling an installed version

1.9. 2

Linux upgrade Ruby

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.