On Sun, Nov 11, 2012 at 10:46 AM, Daurnimator <q...@daurnimator.com> wrote: > On 5 November 2012 12:23, Hisham <h...@hisham.hm> wrote: >> luarocks detects the Lua version based on the interpreter it is >> actually using to run (which it takes from it #! line, generated at >> install time). So if you do >> /usr/local/bin/lua luarocks install zee >> it will detect Lua 5.2. >> >>> It's not that 5.2 is considered to not match 5.2.1, is it ? >> >> No. 5.2.1 matches as 5.2. >> >> -- Hisham >> http://hisham.hm/ > > A better choice might be: > #!/usr/bin/env lua
No, I mean it takes from the actual environment (_G._VERSION) of the running interpreter. I just mentioned #! because it is the way the interpreter is picked. -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers