sudo yum install -y libxml2-devel libxslt-devel
curl -L https://get.rvm.io | bash -s stable
source /home/ec2-user/.rvm/scripts/rvm
rvm pkg install zlib
rvm pkg install openssl
export rvm_path=/home/ec2-user/.rvm
rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr
gem install bundler
gem install rake