Last active
August 31, 2016 20:13
-
-
Save trueheart78/0396e29d2465062529ca88333dd00b47 to your computer and use it in GitHub Desktop.
Chruby + Ruby Install Setup
This file contains hidden or 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
#!/usr/bin/env bash | |
# chruby - https://github.com/postmodern/chruby | |
wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.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/chruby.sh" | |
# ruby-install - https://github.com/postmodern/ruby-install | |
wget -O ruby-install-0.6.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.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 https://ftp.ruby-lang.org/pub/ruby 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