[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Difficulties with LuaRocks
- From: Jim Whitehead II <jnwhiteh@...>
- Date: Mon, 13 Jun 2011 17:17:58 +0100
On Mon, Jun 13, 2011 at 5:15 PM, steve donovan
> On Mon, Jun 13, 2011 at 5:54 PM, Javier Guerra Giraldez
> <firstname.lastname@example.org> wrote:
>> but still doesn't help to get a LuaRocks-installed package to work
>> just like a manually-installed one....
> (quick new topic fork)
> That used to be the case, but since LR 2.0 modules are deployed on the
> usual Lua module path, at least if installed as superuser. It has
> really become quite painless, especially on Debian-based Unix where LR
> is available from apt-get. (Fine also on Fedora, but you have to mess
> with LUA_(C)PATH anyway to get a 'normal' Lua environment)
> A common problem used to be people not installing as su and not
> getting the result they expected; now LR bitches about this unless you
> explicitly use the --local flag.
> (The sandboxing that Jim talks about is a really powerful way to have
> separate Lua universes that don't fight with each other, BTW. It
> requires a little patch to Lua so that the mod path is local to the
> sandbox directory)
Indeed, and it solves the problem that Javier seems to be concerned
with, as I've just responded in the other thread.