OS X 10.9.4。我没有安装chruby
自制软件。
我很想卸载chruby。因为我想再次进行全新安装。
我想我需要去chruby所在的地方。并运行make uninstall
我试图找到它在哪里:
➜ ~ 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
}
但是找不到。