This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
su ec2-user | |
sudo yum -y update | |
sudo yum install -y git redhat-rpm-config sqlite-devel | |
# Install RVM and Ruby | |
# KEY1 and KEY1 grab from: https://rvm.io/ | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys KEY1 KEY2 | |
curl -sSL https://get.rvm.io | bash -s stable |