Skip to content

Instantly share code, notes, and snippets.

@joaovitor
Created July 18, 2010 23:24
Show Gist options
  • Save joaovitor/480809 to your computer and use it in GitHub Desktop.
Save joaovitor/480809 to your computer and use it in GitHub Desktop.
#!/bin/sh
apt-get install build-essential ssh ruby-full
wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz
tar xzvf rubygems-1.3.7.tgz
cd rubygems-1.3.7
ruby setup.rb
ln -snf /usr/bin/gem1.8 /usr/bin/gem
echo "gem: --no-ri --no-rdoc">$HOME/.gemrc
gem install chef ohai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment