luaver
luaver copied to clipboard
"Rockset" feature
Would it be possible to have a "rockset" feature like rvm's gemsets?
The idea is to allow the definition of not only different Lua versions, but also per-project Lua environments. So, if I had a project "foo" and a project "bar", both using Lua 5.3 but different rock sets, I could switch between their environments with the commands
$ luaver use [email protected]
$ luaver use [email protected]
The main benefit is that you get a finer control over the versions of the rocks you use, specially when there are incompatibilities. I never ran into this kind of situation though, so this feature might just be overkill. It does give me peace of mind to know that my projects have only the strictly required rocks installed in their environment.
Hi, I haven't looked into the details but I guess this feature will be feasible. I will definitely come back and try to implement this in the near future. Thanks for the suggestion :)