I'm looking for a way to override the settings in the `site_config` file. Using 
the command line I can set the `VAR=value` option, but that only works on the 
variable section, not on the site-config.

The usecase;
An nginx installation with an embedded luajit version. To install modules we 
configure the luarocks installation using the luajit binaries. So far so good, 
all works, as modules are properly compiled against the LuaJit binaries.

Now when we test things (using busted) we need to run the tests in an openresty 
environment, and we use the [openresty 
cli](https://github.com/openresty/resty-cli) to do so.

What I would like to do is

> luarocks install busted LUA_INTERPRETER=/path/to/openresty/cli

Such that the installed wrapper script to run busted will git this interpreter 
and hence will run on the resty-cli tool and not on the LuaJit executable.
Currently I have to manually edit the installed wrapper to fix it.

any help is appreciated.

Thijs

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to