Last active
August 29, 2015 14:06
-
-
Save cpageler93/66080d09ded47272116a to your computer and use it in GitHub Desktop.
Bootstrap Chef Solo (with Ruby 2.1.2)
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 | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libyaml-dev | |
cd /tmp | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | |
tar -xvzf ruby-2.1.2.tar.gz | |
cd ruby-2.1.2/ | |
./configure --prefix=/usr/local | |
sudo make | |
sudo make install | |
sudo 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