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:
Executing luarocks install ... in the luarocks installation directory, the module will be installed in the luarocks installation directory /lua_modules. while executing this command in other paths, the module will be installed in /usr/local. The subpaths all conform to rock's tree structure.
Only if you execute luarocks path in the luarocks installation directory, the resulting rules will contain entries that match the luarocks installation directory/lua_modules path.
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?
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:
luarocks install ...
in the luarocks installation directory, the module will be installed in theluarocks installation directory /lua_modules
. while executing this command in other paths, the module will be installed in /usr/local
. The subpaths all conform to rock's tree structure.luarocks path
in the luarocks installation directory, the resulting rules will contain entries that match theluarocks installation directory/lua_modules
path.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?