<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I have used the Latex Bundle of TextMate on a daily basis for ten years. It is my workhorse and I am grateful for the improvements that this wonderful group has put into it, especially <span style="font-family: 'Helvetica Neue';" class="">René Schwaiger</span>. <div class=""><br class=""></div><div class="">Now I need help. Suddenly, for no apparent reason, I am unable to run “Typeset &View (PDF).”  Here is the error log:</div><div class=""><div class=""><br class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class="">This command requires ‘kpsewhich’ which wasn’t found on your system.<br class="">The following locations were searched:<br class=""> • /usr/bin<br class=""> • /bin<br class=""> • /usr/sbin<br class=""> • /sbin<br class=""> • ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin<br class="">If ‘kpsewhich’ is installed elsewhere then you need to set PATH in Preferences → Variables to include the folder in which it can be found.</blockquote><br class="">When I run “which kpsewhich” in terminal, it returns<br class=""><br class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class="">/Library/TeX/texbin/kpsewhich</blockquote><br class="">In Preferences my Path Variable is <br class=""><br class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class="">/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/Library/TeX/texbin</blockquote><br class="">I tried replacing this with<br class=""><br class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class="">/Library/TeX/texbin</blockquote><br class="">and got this error log after restarting:<br class=""><br class="">This command requires ‘kpsewhich’ which wasn’t found on your system.<br class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><br class="">The following locations were searched:<br class=""> • /usr/bin<br class=""> • /bin<br class=""> • /usr/sbin<br class=""> • /sbin<br class=""> • ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin</blockquote><br class="">I tried restarting everything several times along the way.<br class=""><br class="">I installed a fresh version of MaxTex.<br class=""><br class="">I installed a fresh version of TextMate 2.<br class=""><br class="">which kpsewhich returns the same response as before:<br class=""><br class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div class="">/Library/TeX/texbin/kpsewhich</div></blockquote><div class=""><br class="">I tried both <br class=""><br class=""></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><div class="">PATH and $PATH</div></blockquote><div class=""><br class="">My .tex files run as they should on TexShop.<br class=""><br class="">I will be grateful for advice. I could find no other tips online, and apologize if the solution to my problem has been posted.<br class=""><br class="">Best wishes,<br class=""><br class="">Jenny Harrison<br class="">Mathematics Department</div><div class="">UC Berkeley <br class=""><br class=""><br class=""><br class=""><br class=""><br class=""></div></div></div></body></html>