1
 rvm implode
1
 yum install readline-devel.x86_64 libyaml.x86_64
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bash_profile
echo 'eval "$(rbenv init -)"' >> .bash_profile

rbenv-install 1.9.3-p0
rbenv global 1.9.3-p0
rbenv versions

gem install readline
gem update
gem update --system
gem install rails pry pry-doc