Step 1: Upgrade Packages

# yum update
# yum install gcc-c++ patch readline readline-devel zlib zlib-devel
# yum install libyaml-devel libffi-devel openssl-devel make
# yum install bzip2 autoconf automake libtool bison iconv-devel

Step 3: Install RVM ( Ruby Version Manager )

# curl -L get.rvm.io | bash -s stable

Step 4: Setup RVM Environment

# source /etc/profile.d/rvm.sh

Step 5: Install Required Ruby Version

# rvm install 1.9.3

Step 6: Setup Default Ruby Version

# rvm use 1.9.3 --default

Step 7: Check Current Ruby Version

# ruby --version

本条目发布于[2016年9月5日](https://c4ys.com/archives/670 "15:05")。属于[Ruby](https://c4ys.com/archives/category/ruby)分类,被贴了 [rvm](https://c4ys.com/archives/tag/rvm) 标签。