[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Virtualenv Lua liketool
- From: Nagaev Boris <bnagaev@...>
- Date: Sun, 1 May 2016 17:21:16 +0000
On Sun, May 1, 2016 at 5:01 PM, Nagaev Boris <email@example.com> wrote:
> On Sun, May 1, 2016 at 4:20 PM, Vadim A. Misbakh-Soloviov
> <firstname.lastname@example.org> wrote:
>>> I can't find information about LUA_PATH and LUA_CPATH changes in Lua
>>> 5.2 and Lua 5.3 manuals. What exactly do you mean?
>> Just take a look on cut betwen "==="'s in that my message, you're answered on.
>> Lua<5.2 and LuaJIT has path/cpath order which makes it to prefer "local"
>> modules (from cwd) over "system-wide" ones.
>> It was quite usefull behaviour, especially for testing.
>> But 5.2/5.3 introduced new order, where system-wide paths are more preferable
>> than local ones (not sure, if 5.2 has it from its first release, tho).
>> I'd show exact commit and lines to clarify what I mean, if lua were in git :-/
> So hererocks does it Lua 5.3 way even for Lua 5.1. Reported:
Sorry for the noise, I forgot to reset LUA_PATH and LUA_CPATH while
testing. After I set LUA_PATH=';;' LUA_CPATH=';;' it works as
expected. There is no bug with the order.