Hacker News new | ask | show | jobs
by igravious 1273 days ago
Thanks for the detailed write-up. Great to see Ruby getting so much love. Already looking forward to 3.3

Is it a dumb question to ask what additional tooling you use to hop from one version of Ruby to another? There are so many: RVM, Rbenv, …

3 comments

It is not a dumb question at all. At Shopify we use chruby since it is lightweight and less opinionated. However, devs never really have to use chruby directly, since our in-house `dev` CLI tool can install the Ruby version any project at Shopify specifies and configure `shadowenv` to set the right env variables to use it.
Muchas gracias. Got distracted by Christmas day familial activities and didn't realise you'd replied.

ps: my sis uses Shopify to run her entire online biz and even though I'm the supposedly techie one she's the one that set it up, configured it, and runs it – she wouldn't know what a Ruby is!

Recently have found asdf most flexible, mainly because of plug in systems. https://asdf-vm.com/
New shell instances load much faster when running asdf instead of rbenv/nvm/etc… instead of having multiple processes checking multiple dotfiles for a given environment there is just a process and single file.
Just another +1 to the asdf positivity. I've now used it for years with both Windows (WSL) and on modern OSX.

The key thing is that asdf will keep your ruby + all other languages (node, python, etc.) in sync'd versions.

This. Since I’ve migrated to asdf a lot of related tasks have been easier.
ruby-install and chruby is the dead simple way to go IMO
Nearly, except when using fish shell on non MacOS devices