I did a lot of Lua work between 1998 and 2002 but haven't touched it since then until last week. Sadly, most of the "batteries not included" issues remain unchanged. I couldn't find any key/value database bindings that both included cursors support and worked with the latest version of Lua.
Also, no luck getting the "luarocks" package system to work on OSX. Most every package I ran across seemed to be written for different and incompatible versions of Lua and none of them tell you which versions of Lua they work with. Disappointing.
It's a great language but isn't a viable choice if you need external packages unless your willing to put in the work to build and maintain everything yourself.