So, imagine the scenario that you have installed globally on a multi-user
system:
lua5.1, lua5.2, luajit 2.0, luarocks 2.0
How can a user bootstrap themselves with luarocks for 5.1 and 5.2?
You can get a local luarocks installation up by doing:
$ /usr/bin/luarocks --local install luarocks
This will give you a `luarocks` shell script at
`$HOME/.luarocks/bin/luarocks`.
This luarocks will report that it is for the version of lua that `lua`
points to.
Though if you edit the `exec` line inside to point to a different lua, it
reports that instead.
However, if it's pointing at lua5.2, it will search for 5.2 packages on
moonrocks; and compile them against 5.1 headers.
So: how can luarocks for 5.1 and 5.2 coexist?
And how can I bootstrap luarocks for 5.2 from a luarocks for 5.1 configured
installation?
Daurn.
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers