Build on OSX
Hi
I can't build and execute lua code because path is searching for /usr/bin/ but it would have to be /usr/local/bin. I have created one new build system for try it and goes without problem. How could i edit your sublime-build? because i have been searching on Application Support/Sublime Text 3/Packages/User and nothing.
The same problem occurred with live parser and i have solved editing Settings - User adding "path": "/usr/local/bin".
Thanks!
Hi,
The sublime-build file assumes that lua is in your path. You should be able to edit the Lua.sublime-build file to change the path. I'm not sure where the packages get expanded to when Package Control installs them on a Mac though. The live parser has an explicit user option for where to find luac, but I can't do that for the sublime-build since it's just a configuration file.
Rory
On Thu, Oct 2, 2014 at 3:43 AM, KFRadical [email protected] wrote:
Hi
I can't build and execute lua code because path is searching for /usr/bin/ but it would have to be /usr/local/bin. I have created one new build system for try it and goes without problem. How could i edit your sublime-build? because i have been searching on Application Support/Sublime Text 3/Packages/User and nothing.
The same problem occurred with live parser and i have solved editing Settings - User adding "path": "/usr/local/bin".
Thanks!
— Reply to this email directly or view it on GitHub https://github.com/rorydriscoll/LuaSublime/issues/27.
Hi again
I have resolved the situation ^_^ after searching about where the hell are files on osx working with ST3, i have found that is very different than in ST2. Now files are not directly accessible and are in different folder, being each plugin an only compressed file with extension sublime-package.
Installing PackageResourceViewer plugin i have been able to edit lua.sublime-build and only have to add one line, "path": "/usr/local/bin". Now builds and executes like a charm!!!
Ah great. Thanks for digging into that then. I forgot that's how the packages work these days. Glad you're up and running!
On Thu, Oct 2, 2014 at 2:39 PM, KFRadical [email protected] wrote:
Hi again
I have resolved the situation ^_^ after searching about where the hell are files on osx working with ST3, i have found that is very different than in ST2. Now files are not directly accessible and are in different folder, being each plugin an only compressed file with extension sublime-package.
Installing PackageResourceViewer plugin i have been able to edit lua.sublime-build and only have to add one line, "path": "/usr/local/bin". Now builds and executes like a charm!!!
— Reply to this email directly or view it on GitHub https://github.com/rorydriscoll/LuaSublime/issues/27#issuecomment-57714175 .