Hacker News new | ask | show | jobs
by e12e 2067 days ago
> is there a version manager I should be using?

> I am familiar with nvm and pyenv for managing Node and Python versions, respectively, however the tutorial I was following did not mention any Ruby version manager. I took to the internet and found the highly popular, rbenv.

If you want "just" a version manager for ruby, I'd go with rbenv. But if you use, say, node and python too - I'd go with asdf:

https://github.com/asdf-vm/asdf

https://github.com/asdf-vm/asdf-ruby

Keeps the stampede of VMs out of your bashrc.

3 comments

That's a great share! Didn't know about `asdf`, and not having to load ~4 different language version managers is a solid win.

It also looks like `asdf` Does The Right Thing and uses shims, unlike `rvm`, which, as of the last time I checked, overrides shell builtins, which is a straight-up WTF where I come from.

I've since moved my ruby projects over to asdf for its simplicity, and the fact that you're going to be stuck using something to manage node anyways.
I’m still on rbebv amnbs clones like nodenv.