lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> https://github.com/mpeterv/hererocks/

Has it something to do with changed {c,}path order, that has been changed in 
latest 5.2 and 5.3 releases?

It brakes entire idea of something like virtualenv (if you won't force 
reassign {c,}path) in your init.lua.

===========================
> $ for imp in lua{jit,5.{1,2,3}}; do $imp -e 'print((jit and (jit.version) or 
> _VERSION)..":"); print(package.path); print(package.cpath);print()'; done
> LuaJIT 2.1.0-beta2:
> ./?.lua;/usr/share/luajit-2.1.9999/?.lua;/usr/local/share/lua/5.1/?.lua;/
> usr/local/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/
> 5.1/?/init.lua
> ./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/
> 5.1/loadall.so
> 
> Lua 5.1:
> ./?.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/lib64/
> lua/5.1/?.lua;/usr/lib64/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/
> share/lua/5.1/?/init.lua
> ./?.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/
> loadall.so
> 
> Lua 5.2:
> /usr/share/lua/5.2/?.lua;/usr/share/lua/5.2/?/init.lua;/usr/lib64/lua/
> 5.2/?.lua;/usr/lib64/lua/5.2/?/init.lua;./?.lua
> /usr/lib64/lua/5.2/?.so;/usr/lib64/lua/5.2/loadall.so;./?.so
> 
> Lua 5.3:
> /usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/lib64/lua/
> 5.3/?.lua;/usr/lib64/lua/5.3/?/init.lua;./?.lua;./?/init.lua
> /usr/lib64/lua/5.3/?.so;/usr/lib64/lua/5.3/loadall.so;./?.so
===========================




-- 
wbr,
mva

Attachment: signature.asc
Description: This is a digitally signed message part.