Created
October 28, 2016 22:31
-
-
Save jots/b193df51f16bd8e0ede1a2759b49dfb6 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
# install git | |
# for apt-add-repository | |
apt-get install -y software-properties-common | |
sudo apt-add-repository -y ppa:git-core/ppa | |
apt-get update | |
apt-get install -y git | |
#---------------- [ ruby ] ---------- | |
apt-get -y install autoconf bison build-essential libssl-dev libyaml-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev libreadline-dev | |
git clone https://github.com/sstephenson/ruby-build.git | |
cd ruby-build | |
./install.sh | |
#ruby-build 2.2.3 /usr/local | |
ruby-build 2.3.1 /usr/local | |
echo 'gem: --no-document' >> ~/.gemrc | |
gem install bundler | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment