Zend certified PHP/Magento developer

I installed LuaRocks via Homebrew, and it’s not working

I just installed LuaRocks, the standard package manager for Lua, using Homebrew:

brew install luarocks

I’m running Lua 5.4, and every time I try to access the package repository, either to search or install, it errors out. For example:

% luarocks search --all
sh: line 1: 55274 Abort trap: 6           curl -k -f -L --user-agent "LuaRocks/3.9.1 macosx-x86_64 via curl" --connect-timeout 30 -R -z "/Users/<username>/.cache/luarocks/https___luarocks.org/manifest-5.4.zip" 'https://luarocks.org/manifest-5.4.zip' --output '/Users/<username>/.cache/luarocks/https___luarocks.org/manifest-5.4.zip' 2> /dev/null
sh: line 1: 55278 Abort trap: 6           curl -k -f -L --user-agent "LuaRocks/3.9.1 macosx-x86_64 via curl" --connect-timeout 30 -R -z "/Users/<username>/.cache/luarocks/https___luarocks.org/manifest-5.4" 'https://luarocks.org/manifest-5.4' --output '/Users/<username>/.cache/luarocks/https___luarocks.org/manifest-5.4' 2> /dev/null
Warning: Failed searching manifest: Failed downloading https://luarocks.org/manifest-5.4 - failed downloading https://luarocks.org/manifest-5.4
sh: line 1: 55282 Abort trap: 6           curl -k -f -L --user-agent "LuaRocks/3.9.1 macosx-x86_64 via curl" --connect-timeout 30 -R -z "/Users/<username>/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.4.zip" 'https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.4.zip' --output '/Users/<username>/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.4.zip' 2> /dev/null
sh: line 1: 55286 Abort trap: 6           curl -k -f -L --user-agent "LuaRocks/3.9.1 macosx-x86_64 via curl" --connect-timeout 30 -R -z "/Users/<username>/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.4" 'https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.4' --output '/Users/<username>/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest-5.4' 2> /dev/null
Warning: Failed searching manifest: Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.4 - failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest-5.4
sh: line 1: 55290 Abort trap: 6           curl -k -f -L --user-agent "LuaRocks/3.9.1 macosx-x86_64 via curl" --connect-timeout 30 -R -z "/Users/<username>/.cache/luarocks/https___luafr.org_luarocks/manifest-5.4.zip" 'https://luafr.org/luarocks/manifest-5.4.zip' --output '/Users/<username>/.cache/luarocks/https___luafr.org_luarocks/manifest-5.4.zip' 2> /dev/null
sh: line 1: 55294 Abort trap: 6           curl -k -f -L --user-agent "LuaRocks/3.9.1 macosx-x86_64 via curl" --connect-timeout 30 -R -z "/Users/<username>/.cache/luarocks/https___luafr.org_luarocks/manifest-5.4" 'https://luafr.org/luarocks/manifest-5.4' --output '/Users/<username>/.cache/luarocks/https___luafr.org_luarocks/manifest-5.4' 2> /dev/null
Warning: Failed searching manifest: Failed downloading https://luafr.org/luarocks/manifest-5.4 - failed downloading https://luafr.org/luarocks/manifest-5.4

 - Search results for Lua 5.4:
==============================


Rockspecs and source rocks:
---------------------------

lua
   5.4-1 (installed) - provided by VM or rocks_provided

utf8
   5.4-1 (installed) - provided by VM or rocks_provided

Clearly, these aren’t the only two packages in existence. What am I doing wrong?