lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Ryan,

The current version of luaver switches luarocks versions automatically depending on the lua version in use. However luaver only takes into consideration the luarocks version install by itself. If your machine already has luarocks version installed, it will just ignore it and assume that no luarocks version is in use.

I suggest you to install luarocks through luaver as well, if you want luaver to switch versions.

Thanks!

On Thu, Jul 7, 2016 at 8:21 PM, Ryan Pusztai <rpusztai@gmail.com> wrote:
Hi Dhaval,

I really like Luaver and thanks for the effort.

Can you bring back switching LuaRocks versions automatically to the Lua version that is selected? I find this is required every time I switch to a different Lua version.


--
Regards,
Ryan

On Sun, Jul 3, 2016 at 12:56 PM, Dhaval Kapil <me@dhavalkapil.com> wrote:
Hi,

luaver helps to manage and switch between different versions of Lua, LuaJIT and Luarocks. Presently, the following features are provided:

1. Installs/Uninstalls any version of Lua, LuaJIT or luarocks with a single command.
2. Switches between different versions of 'Lua', 'LuaJIT' or 'Luarocks' easily, without glitches.
3. Consistency between 'Lua' and 'Luarocks' maintained - Rocks and configurations for different lua versions are stored differently.
4. Every terminal session can have a different environment configured. Default versions can also be configured.



I have also written a blog on using luaver: https://dhavalkapil.com/blogs/Lua-Version-Manager/

Comments and suggestions are welcome.

Thanks,
Dhaval Kapil




--
Dhaval Kapil
dhavalkapil.com