Skip to content

Instantly share code, notes, and snippets.

@josnidhin
Created May 29, 2012 01:55
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save josnidhin/2822114 to your computer and use it in GitHub Desktop.
Installing RVM and Ruby 1.9 on AWS Linux AMI
sudo -s
yum update
groupadd rvm
gpasswd -a ec2-user rvm
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel
curl -L get.rvm.io | bash -s stable
rvm install 1.9.2
rvm use 1.9.2 --default
ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment