lua-users home
lua-l archive

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


On Mon, 06 Sep 2010 15:33:20 -0400, Hisham <hisham.hm@gmail.com> wrote:

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.

It worked anyway, go figure.

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

I've rewritten http://luarocks.org/en/install to reflect this.

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

luarocks install ao

Wow, that was fast.


Cheers,
-- Hisham