OS X 10.9.4. I did not install the chruby
by homebrew.
I would love to uninstall the chruby. Because I want to do a fresh install again.
I think I need to go to where chruby it is. And run make uninstall
I tried to find where it is:
➜ ~ whereis chruby
➜ ~ which chruby
chruby () {
case "$1" in
(-h|--help) echo "usage: chruby [RUBY|VERSION|system] [RUBY_OPTS]" ;;
(-V|--version) echo "chruby: $CHRUBY_VERSION" ;;
("") local dir star
for dir in "${RUBIES[@]}"
do
dir="${dir%%/}"
if [[ "$dir" = "$RUBY_ROOT" ]]
then
star="*"
else
star=" "
fi
echo " $star ${dir##*/}"
done ;;
(system) chruby_reset ;;
(*) local dir match
for dir in "${RUBIES[@]}"
do
dir="${dir%%/}"
[[ "${dir##*/}" = *"$1"* ]] && match="$dir"
done
if [[ -z "$match" ]]
then
echo "chruby: unknown Ruby: $1" >&2
return 1
fi
shift
chruby_use "$match" "$*" ;;
esac
}
But could not find it.