Skip to content

Instantly share code, notes, and snippets.

@adriancuadros
Forked from ryanb/chef_solo_bootstrap.sh
Last active October 7, 2015 17:48
Show Gist options
  • Save adriancuadros/3202708 to your computer and use it in GitHub Desktop.
Save adriancuadros/3202708 to your computer and use it in GitHub Desktop.
Bootstrap Chef Solo
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xvzf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247/
./configure --prefix=/usr/local
make
make install
gem install ruby-shadow -v 2.1.4 --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment