Skip to content

Instantly share code, notes, and snippets.

@gumayunov
Created May 13, 2009 06:21
Show Gist options
  • Save gumayunov/110910 to your computer and use it in GitHub Desktop.
Save gumayunov/110910 to your computer and use it in GitHub Desktop.
#!/bin/sh
aptitude -y update
aptitude -y install irb ri rdoc libshadow-ruby1.8 ruby1.8-dev gcc g++ curl
curl -L 'http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz' | tar xvzf -
cd rubygems* && ruby setup.rb --no-ri --no-rdoc
ln -sfv /usr/bin/gem1.8 /usr/bin/gem
gem install rdoc chef ohai --no-ri --no-rdoc --source http://gems.opscode.com --source http://gems.rubyforge.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment