[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaRocks 2.0.1
- From: Hisham <hisham.hm@...>
- Date: Tue, 27 Oct 2009 15:33:41 -0200
On Tue, Oct 27, 2009 at 3:00 PM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> On Tue, Oct 27, 2009 at 6:48 PM, Hisham <hisham.hm@gmail.com> wrote:
>> I'm happy to announce LuaRocks 2.0.1, a bugfix release:
>
> Congratulations! Second birthday!
Thank you!
> Hisham, people here on the Lua list may not know the big change in LR
> 2.0, which is that it now uses 'normal' Lua module paths.
This was the first item in the What's New list for LR 2.0.0, but it
never hurts to restate: :)
* module files are now deployed to standard Lua-style paths:
$PREFIX/lib/lua/5.1 and $PREFIX/share/lua/5.1. This means that vanilla
builds of Lua and LuaRocks are now compatible with each other
out-of-the-box (installing into /usr/local). This means
require("luarocks.require") is no longer necessary to load modules
installed using LuaRocks. Support for multiple repositories and
multiple versions in a repository is still retained (for the latter,
the new require("luarocks.loader") is needed -- luarocks.require works
as a compatibility alias).
-- Hisham