Skip to content

Instantly share code, notes, and snippets.

@thesunwave
Forked from tesths/rvm.sh
Last active February 14, 2017 11:14
Show Gist options
  • Save thesunwave/d715c6dd97bba965ebe1f411000a318e to your computer and use it in GitHub Desktop.
Save thesunwave/d715c6dd97bba965ebe1f411000a318e to your computer and use it in GitHub Desktop.
rvm
#fork from https://github.com/huacnlee/init.d
echo "Install RVM"
echo "---------------------------------------------------------------------------"
command gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
command curl -sSL https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm install 2.3.3
rvm use 2.3.3 --default
rvm -v
ruby -v
gem install bundler
bundle -v
echo "--------------------------- Install Successed -----------------------------"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment