cd ~/temp/
#可能會因爲openssl的版本問題,提示 undefined symbol: EC_GROUP_new_curve_GF2m, 實測採用 openssl 1.0.1e ok. openssl 1.0.1h報錯
yum install -y git readline-devel
#安裝ruby
# https://github.com/rbenv/ruby-build#readme
git clone https://github.com/rbenv/ruby-build.git
cd ruby-build;
sh ./install.sh
/usr/local/bin/ruby-build 2.2.3 /usr/local