Promote `asdf` for managing ruby and nodejs versions
Any proper dev environment requires a version manager tool, ruby and node in the case of porta. Throughout the years the team has tried a bunch of them: nvm, rvm, rbenv... and recently the majority seems to favor asdf which main advantage is it allows managing both packages.
Moreover, there's been times when a conflict between versions between local and prod has caused us problems.
My proposal is to promote asdf as the preferred version manager for our project. This way we're all in the same page and we can mitigate potential configuration issues. It will also help using the versions we're supposed to thanks to .tool-versions.
Could you please elaborate a little on this?
...there's been times when a conflict between versions between local and prod has caused us problems.
It happened a while ago and I can't quite remember, but in involved node (10 in production image vs 16 in somebody's local) and there were some bugs happening after deploying.
I think something with ruby happened as well.
By not relegating version management we're also causing a lot of configuration headache.