This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Author: Ori Tzoran, based on idea and gist by aaronzirbes (see evolution below) | |
# Tested on Mac OS X 10.10.2 (14C109) | |
set -e | |
## verify root runs this | |
[[ $(id -u) == 0 ]] || { echo need root; exit 1; } | |
#set -vx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ------------------------------------------------- | |
# set ruby version | |
RUBYVERSION=1.9.3-p429 | |
# RUBYVERSION=system | |
CHEFDIR=/var/lib/chef | |
export PATH=/usr/local/sbin:/usr/local/bin:$PATH | |
DISTRIBUTION=`lsb_release -si` |