Online information There are many, but a lot of pits, some have expired, and some do not conform to the current arrangement of some seemingly also with the OS system version has a relationship, do not copy, according to the actual situation to install
My system version is 10.12.3
1. Install Xcode
Please follow the process installation, here does not elaborate
2 Homebrew
Official website: http://brew.sh/index_zh-cn.html Best FQ under, otherwise have to wait for a long time
3.RVM
Curl-l Https://get.rvm.io | Bash-s Stable
If the download is too slow, change the net or speed up a bit before I was in the company with Unicom's always unable to download, replaced by telecommunications suddenly good
SOURCE ~/.RVM/SCRIPTS/RVM
Loading in RVM environment
Rvm-v
4.ruby Installation
# View the installation list # Select a rvm install 2.0.0
# Set as Default version
RVM 2.0.0--default
Ruby on Rails MAC installation