Build-image: Switch to rbenv or asdf-vm instead of RVM

Created on 16 Feb 2019  路  2Comments  路  Source: netlify/build-image

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

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.

need-input

Most helpful comment

+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.

All 2 comments

+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.

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.

Was this page helpful?
0 / 5 - 0 ratings