Skip to content

Instantly share code, notes, and snippets.

@ihower
Last active December 11, 2015 09:58
Show Gist options
  • Save ihower/4583313 to your computer and use it in GitHub Desktop.
Save ihower/4583313 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
apt-get update -y
apt-get upgrade -y
apt-get install -y build-essential git-core bison openssl libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libpcre3-dev curl libcurl4-nss-dev imagemagick mysql-common mysql-client libmysqlclient-dev libcurl4-openssl-dev curl nodejs
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.gz
tar xvfz ruby-1.9.3-p374.tar.gz
cd ruby-1.9.3-p374
./configure
make
make install
gem install bundler chef --no-ri --no-rdoc
# ssh vagrant@192.168.33.10 -t -C 'curl https://gist.github.com/raw/4583313/b1e150d8eb2b7fb0b5e63ac355a98415646d7167/bootstrap | sudo bash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment