Created
April 29, 2015 20:17
-
-
Save georgyangelov/9ce70888ec603f36fe2b 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 | |
apt-get -y update | |
# Install some tools | |
apt-get -y install git vim aspell | |
git config --global credential.helper 'cache --timeout=3600' | |
echo -e "\nexport EDITOR=vim\n" >> /home/vagrant/.bashrc | |
# Install ruby 2.1.5 | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev cmake pkg-config | |
cd /tmp | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz | |
tar -xvzf ruby-2.1.5.tar.gz | |
cd ruby-2.1.5/ | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
# Install bundler | |
gem install bundler | |
# Configure git | |
sudo -u vagrant git config --global color.ui auto | |
sudo -u vagrant git config --global user.name "Georgy Angelov" | |
sudo -u vagrant git config --global user.email "georgyangelov@gmail.com" | |
# Install python and pygments | |
sudo apt-get install python python-pygments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment