On Sun, Nov 11, 2012 at 10:46 AM, Daurnimator <[email protected]> wrote:
> On 5 November 2012 12:23, Hisham <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to