Skip to content

Instantly share code, notes, and snippets.

@robinsloan
Last active October 7, 2015 11:58
Show Gist options
  • Save robinsloan/3161873 to your computer and use it in GitHub Desktop.
Save robinsloan/3161873 to your computer and use it in GitHub Desktop.
AMI Ruby setup recipe
# 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