Error: xelatex is not found, you need to install LaTeX or be sure that
your PATH is setup properly.
sh: line 0: type: xelatex: not found
When I run from TextMate "which xelatex" it gives me: /usr/texbin/xelatex
In Terminal the same, command completion in Terminal works fine as
well. Compiling the file in Terminal works as well.