Skip to content

Instantly share code, notes, and snippets.

@Pluto1010
Created October 5, 2014 11:20
Show Gist options
  • Save Pluto1010/59bda12fb3e5f07147c8 to your computer and use it in GitHub Desktop.
Save Pluto1010/59bda12fb3e5f07147c8 to your computer and use it in GitHub Desktop.
# 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