lunarmodules / luasocket

Network support for the Lua language
http://lunarmodules.github.io/luasocket/
MIT License
1.83k stars 626 forks source link

Inconsistent behaviour when executing luarocks in different directories #405

Closed wushu037 closed 1 year ago

wushu037 commented 1 year ago

version: LuaRocks 3.9.2

I didn't find a description of the problem I'm having in the rocks usage documentation. So I don't know if luarocks is doing this on purpose or if it's due to a bug.

The situation is that executing luarocks commands in the luarocks installation directory (and any subdirectories) does not produce the same behaviour as executing luarocks commands in other directories.

For example:

It's as if the two directories are two different environments. If it's a bug, I hope it's fixed, and if it's intentional design, I'd like to know where the documentation related to it is?

alerque commented 1 year ago

This should be an issue or discussion on the Lua Rocks repository, not the luasocket library.