Skip to content

Instantly share code, notes, and snippets.

@jorke
Last active March 25, 2017 11:13
Show Gist options
  • Save jorke/befda7aa01657c21dde543da7c690b1a to your computer and use it in GitHub Desktop.
Save jorke/befda7aa01657c21dde543da7c690b1a to your computer and use it in GitHub Desktop.
installs ruby then pulls chef
apt-get install gcc make libssl-dev
cd /usr/src
wget https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.6.tar.gz
tar -xvzf ruby-2.2.6.tar.gz
cd ruby-2.2.6
./configure --enable-shared --disable-install-doc --disable-install-rdoc --disable-install-capi
make -j4 ; make install
gem install chef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment