You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some modules are downloaded with names that don't match the names used by require. E.g. luarocks install luasocket -> require("socket")
does luarocks offer the ability to manage multiple versions of a module? I didn't find a description.
This can be difficult when doing collaborative development and long term development. So:
do I need to add a file to the project that describes which modules are used in the project?
Since there is no version management, it is possible that everyone in the team installs a different version of the module at a different time, so should I put the module in the project directory?
I need to hear from the luarocks team.
The text was updated successfully, but these errors were encountered:
I am unsure why you are opening this issue on luasocket, but:
Yes sometimes modules have a different name that the rock, this is often the case with other languages as well.
LuaRocks allows a single version of a module for a given project but you can have different sets of rocks in different projects. LuaRocks natively supports different rocks trees, but personally I use a completely separate environment with its own Lua and LuaRocks using this script I wrote.
To have a specific set of versions for a project across a team, you can create a rockspec and install with --only-deps
I'm having two problems
luarocks install luasocket
->require("socket")
This can be difficult when doing collaborative development and long term development. So:
I need to hear from the luarocks team.
The text was updated successfully, but these errors were encountered: