Last active
August 29, 2015 14:07
-
-
Save geopet/b2a5b99e83c39019b84b to your computer and use it in GitHub Desktop.
Update Source Ruby on a Vagrant Instance
This file contains 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 | |
cd | |
sudo rm -rf /usr/local/bin/ruby | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.gz | |
tar -xzvf ruby-2.1.3.tar.gz | |
cd ruby-2.1.3 | |
./configure | |
make | |
sudo make install | |
rm ~/.gemrc | |
echo "gem: --no-ri --no-rdoc" > ~/.gemrc | |
gem update system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment