Collecting my attempts to improve at tech, art, and life

Lua

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

Programming language usually used in an embedded context

Installing packages with Luarocks

If installing packages with --local, then your shell init must include where to find those local packages.

Code Sample
    # ~/.bash_profile

if [ -n "`which luarocks 2>/dev/null`" ](%20-n%20"`which%20luarocks%202>/dev/null`"%20); then
  eval `luarocks path --bin`
fi