Debian6 rvm Installation

Source: Internet
Author: User

1. Install git

Sudo apt-Get install git

2. Install rvm

Bash <(curl-s https://rvm.beginrescueend.com/install/rvm)

3. Configuration File

Search for the two files. If not, create them manually (select one global user)

/Etc/rvmrc "$ home/. rvmrc ",

The template is in the example directory of the installation folder.

Change the path to your installation path.

4. Change the specific path and shell file to your own (red part)

Echo '[[-s "/usr/local/rvm/scripts/rvm"] &. "/usr/local/rvm/scripts/rvm" # Load rvm function '> ~ /. Bashrc

5. Reload the configuration

Source. bashrc

6. Test whether it is successful (the last one is number 1)

Type rvm | head-1rvm notes

7. Everything is ready to install Ruby

Rvm install 1.9.2
Rvm use 1.9.2 -- default

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.