-
-
Save kennx/6060654 to your computer and use it in GitHub Desktop.
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 | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install gcc | |
sudo apt-get install git-core | |
sudo apt-get install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev | |
cd ~/downloads | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz | |
tar -xvzf ruby-1.9.3-p392.tar.gz | |
cd ruby-1.9.3-p392/ | |
./configure --prefix=/usr/local | |
make && make install | |
ruby -v | |
gem list | |
gem update --system | |
gem install bundle | |
gem update | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment