Greetings. I managed to fall into two little traps; might be useful to put them on the record here:
Mostly, moonrocks works under lua5.1 or 5.2; But, for moonrocks upload it needs to have been installed under 5.1, and then run under 5.1. Otherwise, upload gives a Error: attempt to call global 'setfenv' (a nil value) For upload, the rockspec must be in current directory. Thus: moonrocks upload ~/www/comp/lua/commandlineui-1.72-0.rockspec fails at the .src.rock step with: Filename must be in format `commandlineui-VERSION.ARCH.rock` but: cd ~/www/comp/lua/ moonrocks upload commandlineui-1.72-0.rockspec seems to work fine :-) So I think I'm on my way now... Peter Billam P.S. http://luarocks.org/en/Creating_a_rock may need updating. http://www.pjb.com.au p...@pjb.com.au (03) 6278 9410 "Follow the charge, not the particle." -- Richard Feynman from The Theory of Positrons, Physical Review, 1949 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers