Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Chruby + Ruby Install Setup
#!/usr/bin/env bash
# chruby -
wget -O chruby-0.3.9.tar.gz
tar -xzvf chruby-0.3.9.tar.gz
cd chruby-0.3.9/
sudo make install
echo "Add to you shellrc file: source /usr/local/share/chruby/"
# ruby-install -
wget -O ruby-install-0.6.0.tar.gz
tar -xzvf ruby-install-0.6.0.tar.gz
cd ruby-install-0.6.0/
sudo make install
ruby-install ruby 2.3
ruby-install -M ruby 2.0.0-p645
echo "Reload your shellrc file: source ~/.bashrc or source ~/.zshrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment