Skip to content

Instantly share code, notes, and snippets.

@otzoran
otzoran / truecrypt_fix.bash
Last active August 29, 2015 14:16 — forked from yiufung/truecrypt_fix.bash
Fixes annoying brew doctor messages caused by Truecrypt - tested on Yosemite
#!/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
#!/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`