lua-users home
lua-l archive

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


Nevermind! I forgot I installed luarocks system wide now so I need to
execute every command as a superuser.

Thijs

On Tue, Aug 17, 2010 at 5:16 PM, Thijs Koerselman
<thijskoerselman@gmail.com> wrote:
> I'm getting the following error:
>
> $ luarocks list
> /opt/local/bin/lua:
> /usr/local/share/lua/5.1//luarocks/command_line.lua:90: attempt to
> index field 'root_dir' (a nil value)
> stack traceback:
>        /usr/local/share/lua/5.1//luarocks/command_line.lua:90: in function
> 'run_command'
>        /usr/local/bin/luarocks:24: in main chunk
>        [C]: ?
>
> Any idea where this is coming from?
>
> Luarocks is located here:
> /usr/local/bin/luarocks
>
> and my rocks are in
> /usr/local/lib/luarocks/rocks/
>
>
> Thijs
>