On Sun, Aug 16, 2009 at 8:26 PM, xxx<xxxx> wrote:
Hi, I'm using TextMate on Leopart to use Latex. I've installed the full Latex package for Mac. When I try to typeset & view a document I get the error: "env: ruby: Not a directory". In the preferences, the Shell Variables are: TM_LATEX_VIEWER -> TeXinscope PATH -> /usr/texbin/kpsewhi (I've checked it exist on this path) Do you know what could I do?
I had to delete ~/Library/Application Support/TextMate/Bundles/Latex.tmbundle (deleted Latextra.tmbundle as well but I don't know if that is necessary) and therefore revert to the original bundle in the app itself, then rename tm_interactive_input.dylib in the TextMate.app (it's in TextMate.app/Contents/SharedSupport/Support/lib/) - oh yes and search for that file in ~/Library/Application Support/TextMate/Support as well and rename it there, too. After that TextMate and LaTeX worked fine.
Have a look in http://ticket.macromates.com/show?ticket_id=FAB08510 as well - if you use MacPorts there's a hint regarding that as well.
If you did a clean install - don't forget to install fonts you used in your files… I had some rendering problems because I did not yet installed all fonts I used ;)
Niels