给 openresty 的 luajit 安装 luarocks
1 | # .bashrc |
下载 luarocks
解压:
1 | ./configure --prefix=/usr/local/luarocks-2.4.3 --with-lua=/usr/local/Cellar/openresty/1.13.6.1/luajit --lua-suffix="jit" --with-lua-include=/usr/local/Cellar/openresty/1.13.6.1/luajit/include/luajit-2.1 |