Re: [Luarocks-developers] Broken installation
Brought to you by:
loderunner
|
From: Hisham <h...@hi...> - 2014-06-27 06:25:06
|
On 26 June 2014 23:59, Ignacio Burgueño <ibu...@gm...> wrote: > Hi. It seems that somehow I nuked the rocks I had installed. > LuaRocks does not see them but they are on disk. (ie. "require" works in > Lua) > > When that happened, I usually did "luarocks-admin make_manifest > path_to_repo" and everything goes back to normal but now it does not work. > > How can I rebuild the system manifest? Weird, make_manifest is the usual method. make_manifest scans the rocks dir (.../lib/luarocks/rocks, the one with one subdirectory for each rock) to rebuild the manifest; inside each subdir there's a rock_manifest file, and the whole manifest is built from those. If that directory is gone, there's no way to rebuild the manifest unfortunately. -- Hisham |