luaver icon indicating copy to clipboard operation
luaver copied to clipboard

"Rockset" feature

Open Kazuo256 opened this issue 9 years ago • 1 comments
trafficstars

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.

Kazuo256 avatar Jul 05 '16 14:07 Kazuo256

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 :)

DhavalKapil avatar Jul 05 '16 22:07 DhavalKapil