Skip to content

Instantly share code, notes, and snippets.

@antoniorosado
Last active December 14, 2015 02:58
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 antoniorosado/5017293 to your computer and use it in GitHub Desktop.
Save antoniorosado/5017293 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
tar -xvzf ruby-1.9.3-p392.tar.gz
cd ruby-1.9.3-p392/
./configure --prefix=/usr/local
make
make install
gem install chef ruby-shadow --no-ri --no-rdoc
@antoniorosado
Copy link
Author

Chef Solo Basics Ryan Bates gist updated for Ubuntu 12.10.
Check out and sign up fo railscasts.com.

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