lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Sep 6, 2010 at 4:27 PM, Stuart P. Bentley <stuart@testtrack4.com> wrote:
> How do you specify a server to LuaRocks?

That would be:

luarocks --from=http://example.com/repository_path/ install ao

But that URL is not a repository path. You don't need to specify a
repo path, though -- you can pass a rockspec URL directly:

luarocks install http://github.com/TheLinx/lao/raw/luarocks/ao-1.0.0-1.rockspec

But you don't need to do this, as ao is already in the main
repository. You can do this:

luarocks install ao

Cheers,
-- Hisham