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