Skip to content

Instantly share code, notes, and snippets.

@krzysztofjablonski
Forked from ruliana/bootstrap-chef-solo.sh
Last active December 17, 2015 08:19
Show Gist options
  • Save krzysztofjablonski/5579133 to your computer and use it in GitHub Desktop.
Save krzysztofjablonski/5579133 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev git-core
cd /tmp
wget http://cache.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
# Download and build Chef
gem install chef ruby-shadow --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment