and the lua_interpreter entry in the configuration file On 1 February 2014 08:33, François Perrad <francois.per...@gadz.org> wrote: > 2014-01-31 Hisham <h...@hisham.hm>: >> On 31 January 2014 16:00, François Perrad <francois.per...@gadz.org> wrote: >>> Hello, >>> >>> find below the revision 2 of the rockspec (with >>> deploy.wrap_bin_scripts = false) : >>> https://raw.github.com/fperrad/ljlinenoise/master/rockspec/ljlinenoise-0.1.1-2.rockspec >> >> deploy.wrap_bin_scripts is an extension to the rockspec format (so far >> the only one), that was added by request for users of custom >> repositories. It requires rockspec_format="1.1" and >> use_extensions=true to be set in the configuration file and will >> therefore fail for users of standard installations (which use rockspec >> format 1.0). For this reason, it cannot be expected to be used in >> rockspecs added to the main public repository. > > Sorry, I didn't know this limitation. > >> >> Any specific reason why you needed this? > > My 2 scripts start with the line : > #!/usr/bin/luajit -E
You can't be sure that your users have luajit installed under /usr/bin. LuaRocks can be configured to use luajit in other locations (for example, ./configure --with-lua=opt --lua-suffix=jit). The generated wrapper will ensure they use the one that was detected in their system. ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers