On Tue, Oct 26, 2010 at 10:03 PM, RJP Computing <[email protected]> wrote:
> I think I found another bug. I you launch webrocks using '--local' it errors
> out removing/uninstalling. It seems like you need to pass the '--local' flag
> to the call to luarocks.

Yes, I forgot it - was worrying too much about getting --from and
--only-from passed.

An area that needs work is determining the list of installed rocks
accurately. If it is --local, then I have to check the repo when
parsing the output of 'luarocks list' to ensure that these are not
globally available?

(in a consistent world, 'luarocks list --local' would do this
directly; a fairly easy change.)

> Also how do I use a locally installed version of LuaRocks.

One solution is something like --luarocks=/my/private/luarocks to
override the global 'luarocks'

There is a feature I'd like to get in, maybe not in this release. And
that is to colour installed packages differently if a newer version is
available.

The sudo-business is a hack, but AFAIK you cannot then unsudo some
commands if everything is run under sudo ;)

steve d.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to