On Wed, Sep 8, 2010 at 11:13 PM, Alexander Gladysh <[email protected]> wrote:
> Hi, list!
>
> OS X 10.6.4
> Luarocks 2.0.1
>
> I made a small Lua-only binary which depends on a couple of rocks:
>
>    http://github.com/agladysh/json2lua
>
> Now I'm thinking to write a rockspec for it — I think that LR has
> support for this.
>
> My rockspec is below (don't add it yet :) )
>
> When I run sudo luarocks install <rockspec-file>, it installs fine,
> but json2lua executable is nowhere in path.
>
> Okay, it is put into /usr/local/lib/luarocks/bin/, which is not in my
> path. I've added it, no problem.

Weird, I thought it copied to /usr/local/bin...

> (BTW, what is the default location
> for locally /non-sudo/ installed rocks' binaries?)

~/.luarocks/bin -- I know that's a bit 'hidden', but I couldn't think
of anything better.

> But there is another problem: The installed file,
>
>    /usr/local/lib/luarocks/bin/json2lua
>
> is not executable! Is this intentional? My original file had executable bit 
> on.

Oops, it was a bug! I just committed a fix. Thanks for the feedback
and testcase. :-)

-- Hisham

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to