if [[ -d "/usr/local/opt/chruby" ]]; then
  source /usr/local/opt/chruby/share/chruby/chruby.sh
  source /usr/local/opt/chruby/share/chruby/auto.sh
else
  echo ""
  echo "You should install chruby and be much cooler..."
  echo "https://github.com/postmodern/chruby"
fi
