build-image icon indicating copy to clipboard operation
build-image copied to clipboard

Switch to rbenv or asdf-vm instead of RVM

Open bcomnes opened this issue 6 years ago • 3 comments

In general, it seems most people are not a fan of rvm (it does weird things like override default unix command... or did at one point? Not sure anymore), and it's been a constant headache to keep working.

I was thinking of switching the ruby version manager over to

  • https://github.com/rbenv/rbenv
  • https://asdf-vm.com/#/

Rbenv is well liked by most Rubyist I've asked, but asdf would offer a uniform package manager for pretty much every language we support, which is appealing.

Have an opinion? Let me know here, otherwise I'll likely just choose one.

bcomnes avatar Feb 16 '19 01:02 bcomnes

+1 from me for asdf. Some of our projects on netlify use both ruby and node, and it would be nice to be able to specify both runtime versions in .tool-versions.

elisehein avatar Apr 16 '19 12:04 elisehein

I considered adding it for python a while back since we didn't have a good version manager story for that yet. It turns out no python version manager can download prebuilt pythons! They all require build-from-source install.

asdf could still possibly work for ruby, node and anything else that doesn't require a build-from-source install.

bcomnes avatar Apr 16 '19 14:04 bcomnes

you can just start supporting this by looking for .tool-versions and then not setting up any other language version manager (rvm or nvm, etc) when it does exist.

airtonix avatar Aug 09 '21 06:08 airtonix