Skip to content

Instantly share code, notes, and snippets.

@rajanand02
Last active August 29, 2015 14:15
Show Gist options
  • Save rajanand02/1a41669c92c26915ebd7 to your computer and use it in GitHub Desktop.
Save rajanand02/1a41669c92c26915ebd7 to your computer and use it in GitHub Desktop.
#! /bin/bash
yum remove ruby
yum install -y git-core curl make bzip2 gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel libxslt-devel sqlite sqlite-devel openssl openssl-devel
yum install -y nodejs
echo "adding rvm key"
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
echo "installing rvm"
\curl -sSL https://get.rvm.io | bash -s stable --rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment