[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Steve Donovan's ldoc: recognized function declaration formats and possible bug
- From: Jim Whitehead II <jnwhiteh@...>
- Date: Mon, 13 Jun 2011 17:16:13 +0100
On Mon, Jun 13, 2011 at 4:54 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On Mon, Jun 13, 2011 at 10:00 AM, Jim Whitehead II <jnwhiteh@gmail.com> wrote:
>> This lua/luarocks installation should be shielded from
>> anything that exists globally.
>
> very nice, i'll definitely try this.
>
> but still doesn't help to get a LuaRocks-installed package to work
> just like a manually-installed one....
Why not? Luarocks-2.x drops the files directly into the same place
where they'd be manually installed. If that doesn't work it would be a
bug and nothing else. For example:
$ mkdir /tmp/foo
$ cd /tmp/foo
$ wget https://raw.github.com/gist/1023085/872d2544f2897138fe2e19e9d7c451773282e2e4/install.sh
$ sh install.sh
$ ./sandbox/bin/luarocks install luasocket
$ ./sandbox/bin/lua -lsocket -e 'print(socket.gettime())'
1307981744.831
Works brilliantly!
- Jim