Created
October 5, 2014 11:20
-
-
Save Pluto1010/59bda12fb3e5f07147c8 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
# update apt index | |
apt-get update -qy | |
# upgrade system | |
apt-get upgrade -qy | |
# install git | |
apt-get install -qy git-core build-essential | |
# remove all unneeded packages | |
apt-get autoremove -qy | |
# default gem settings | |
echo 'gem: --no-ri --no-rdoc' >> /etc/gemrc | |
# install ruby 2.1.3 from ruby source | |
cd /tmp &&\ | |
wget -O ruby-install-0.4.3.tar.gz https://github.com/postmodern/ruby-install/archive/v0.4.3.tar.gz &&\ | |
tar -xzf ruby-install-0.4.3.tar.gz &&\ | |
cd ruby-install-0.4.3/ &&\ | |
make install | |
ruby-install ruby 2.1.3 | |
gem install bundler; | |
cd /vagrant | |
bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment