Ubuntu14.04lts Ruby on Rails development environment

Source: Internet
Author: User
Tags ruby on rails

My little brother was a beginner of Ruby, and I didn't use Linux.

Search on the Internet a lot about the configuration of the development environment article, but always and actually a bit in and out, find n times the article, finally found the simplest environment installation configuration method, share the next

Recommended with Ubintu, feel for the habit of using Windows novice, still better operation.

We use RVM to install the Management Ruby version, the following operations are run in the terminal command operation

1. Install Curl before installing RVM

sudo apt-get Install Curl

2. Install RVM,RVM official recommended way to install

Curl-l Get.rvm.io | Bash-s Stable

3. Modify the $home/.bash_profile file and add the following statement at the end of the file

[-S "$HOME/.RVM/SCRIPTS/RVM"] &&. "$HOME/.RVM/SCRIPTS/RVM" # This loads RVM into a shell session.

4. If installed correctly, you can view the installed RVM version

Rvm-v

5. The dependent libraries required to install the RVM

RVM Requirements

The RVM is already installed, and now the RVM to manage the installation of Ruby

6. View a list of Ruby versions

RVM list known

7. Install Ruby, assuming we have 2.2.0-head installed

RVM Install 2.2.0-head

Cond...

Ubuntu14.04lts Ruby on Rails 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.