Skip to content

Instantly share code, notes, and snippets.

@yohfee
Created August 7, 2012 01:30
Show Gist options
  • Select an option

  • Save yohfee/3280466 to your computer and use it in GitHub Desktop.

Select an option

Save yohfee/3280466 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 & Ruby 1.9.3-p194 & Chef
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
tar -xvzf ruby-1.9.3-p194.tar.gz
cd ruby-1.9.3-p194/
./configure --prefix=/usr/local
make
make install
gem install chef ruby-shadow rubygems-update --no-ri --no-rdoc
update_rubygems
@yohfee
Copy link
Copy Markdown
Author

yohfee commented Aug 7, 2012

wget -q -O - https://raw.github.com/gist/3280466/05ddf8a96ba7e80c365e3946bdf873582f13eeea/chef_solo_bootstrap.sh | sudo bash

@yohfee
Copy link
Copy Markdown
Author

yohfee commented Aug 7, 2012

wget -q -O - https://gist.github.com/raw/3280466/543a099a59dd3ff1e44e567b1e089e72c1f7d713/chef_solo_bootstrap.sh | sudo bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment