On Sat, 4 May 2019 at 11:07, Sean Conner <s...@conman.org> wrote: > > > I just now ran: > > %GenericUnixPrompt> luarocks update luarocks > > and it installed, but now when I run it, I get: > > /usr/local/bin/lua: > /home/spc/.luarocks/share/lua/5.3/luarocks/core/dir.lua:21: invalid value > (nil) at index 1 in table for 'concat' > stack traceback: > [C]: in function 'table.concat' > /home/spc/.luarocks/share/lua/5.3/luarocks/core/dir.lua:21: in > function 'luarocks.dir.path' > /home/spc/.luarocks/share/lua/5.3/luarocks/cmd.lua:160: in upvalue > 'get_lua_version' > /home/spc/.luarocks/share/lua/5.3/luarocks/cmd.lua:287: in function > 'luarocks.cmd.run_command' > ...cks/lib/luarocks/rocks-5.3/luarocks/3.1.0-1/bin/luarocks:36: in > main chunk > [C]: in ? > [spc]lucy:/tmp>which lua > /usr/local/bin/lua > [spc]lucy:/tmp>lua > Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio > > > [spc]lucy:/tmp> > > The previous version of LuaRocks I had installed was 3.0.4. > > -spc (Off to reinstall from scratch ... )
See https://github.com/luarocks/luarocks/issues/1004 and my fix at https://github.com/luarocks/luarocks/pull/1006 _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers