Skip to content

Instantly share code, notes, and snippets.

@defvol
Forked from ryanb/chef_solo_bootstrap.sh
Last active August 29, 2015 13:57
Show Gist options
  • Save defvol/9542388 to your computer and use it in GitHub Desktop.
Save defvol/9542388 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev lib64readline-gplv2-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install
gem install chef ruby-shadow --no-ri --no-rdoc
@defvol
Copy link
Author

defvol commented Mar 14, 2014

This is working on Debian 7.4 https://gist.github.com/Wallsays/8519251

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