soumith/zbs-torch — pull request #1 by koraykv (2013-04-02 10:57:22+00:00)
Title: use the paths from torch exe to construct the luapath for both torch-pkg and luarocks.

Thanks for the port to torch, it is quite useful. I modified the interpreter a little so that the luapath and luacpath are constructed not from hard coded paths, but from the found torch executable. It should also work fine for both torch-pkg and luarocks installs. I hope I did not break anything.