btw; an alternative could be to run a small lua test file on the target interpreter that spits out whatever LuaRocks needs to known about that interpreter. This should then run when installing a rock.