Skip to content

Instantly share code, notes, and snippets.

@ajbonner
Created August 17, 2012 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajbonner/3377779 to your computer and use it in GitHub Desktop.
Save ajbonner/3377779 to your computer and use it in GitHub Desktop.
Build Chef From Source
#!/usr/bin/env bash
wget --no-check-certificate -O chef.tgz https://github.com/opscode/chef/tarball/10-stable
mkdir chef-stable
tar zxf chef.tgz --strip-components=1 -C chef-stable
cd chef-stable/chef
gem build chef.gemspec
/opt/ruby/bin/gem install chef --no-ri --no-rdoc
cd ../../
rm -rf chef-stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment