On Wed, Oct 27, 2010 at 10:58 PM, Doug Currie <[email protected]> wrote: > ~ e$ ls -l $(luarocks show colors --rock-dir) > total 16 > -rw-r--r-- 1 root wheel 626 Oct 27 09:10 colors-8.05.26-1.rockspec > drwxrwxr-x 6 root wheel 204 Oct 27 09:10 doc > -rw-r--r-- 1 root wheel 386 Oct 27 09:10 rock_manifest
Right - so it does exist. manif.load_rock_manifest does the job, and here is the relevant code: local pathname = path.rock_manifest_file(name, version, root) local rock_manifest = persist.load_into_table(pathname) if not rock_manifest then return nil end So the only thing that could fail is that the table load failed. It would be most useful if you showed the contents of that rock_manifest file. steve d. _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
