macosluatextmateosx-lionluac

Textmate - Unable to locate luac


I installed lua bundle to Textmate, but when click on "check syntax" I get this error:

Unable to locate luac

To succesfully run this action you need to install «luac». If you know that it is already installed on your system, you instead need to update your search path.

The manual has a section about how to update your search path.

For diagnostic purposes, the paths searched for «luac» were:

/usr/bin
/bin
/usr/sbin
/sbin

I have probably lua installed correctly, when I write "lua" to terminal I will get: Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

Im running Mac OS X Lion 10.7.2

Where is the problem? Thank you.


Solution

  • There's a line that you pasted up there:

    The manual has a section about how to update your search path.
    

    which indicates you need to update a path so TextMate can find lua.

    Check out the manual for TextMate and see if the answer becomes clear there.