AWSのamazonlinuxのrvmでrubyとrails4インストールしてみました。 めんどくさいので全部root

yum -y install git 

yum -y install make 
yum -y install gcc 
yum -y install gcc-c++ 
yum -y install zlib-devel 
yum -y install openssl-devel 
yum -y install httpd-devel 
yum -y install curl 
yum -y install curl-devel 
yum -y install readline-devel 
yum -y install tk-devel
yum –enablerepo=epel -y install libyaml-devel