News for hackers. Stuff that matters.
Re:Ditch your version manager by dmitriid on Monday September 20, 2021 @09:38AM (#28593642)
> it isn't as trivial as on ubuntu

> Personally, I run ubuntu

What does Ubuntu have to do with it?

Here's a quote from the article:

--- start quote ---

Ditch your version manager

September 17, 2021 • 7 min read

You probably use a variety of tools to manage your Ruby, Node, Python, Elixir versions, such as rvm, rbenv, nvm, or asdf. They all work reasonably well, right?

Well, not quite.

...

My ideal dependency manager would allow me to specify each and every dependency that is required to work on my projects. It should be easily reproducible, declarative and easy to upgrade.

--- end quote ---

To this end, the author proposes to ditch rvm, rbenv, nvm etc. and go for nix.

Here's the entirety of what I need to do to pin my ruby version:

    rvm install 2.1.1
    rvm use 2.1.1
That is it.

I've yet to see anything that approaches this in nix. We are talking about reproducible builds, aren't we?

There are no comments on this comment yet.