Last active
October 7, 2015 11:58
-
-
Save robinsloan/3161873 to your computer and use it in GitHub Desktop.
AMI Ruby setup recipe
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
# all yums prefixed w/ sudo | |
yum update | |
yum erase ruby ruby-libs | |
yum groupinstall "Development Tools" | |
# yum install git-core curl (already included in above) | |
curl -L get.rvm.io | bash -s stable | |
rvm requirements | |
# (install as needed) | |
#rvm install 1.9.3 | |
rvm install 2.2.3 | |
# (prompts with requirements, but already did that) | |
#rvm use 1.9.3 | |
rvm use 2.2.3 | |
#rvm --default use 1.9.3-p194 | |
rvm --default use 2.2.3 | |
yum install -y ruby-devel libxml2-devel libxslt-devel | |
gem install [etc.] | |
#NODE | |
sudo yum install nodejs npm --enablerepo=epel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment