Hacker News new | ask | show | jobs
by ufuk 1273 days ago
We'd already deployed a prerelease version and started serving all Shopify storefront requests with Ruby 3.2 earlier this week. Here is a Twitter thread from me about all the work that into this release from Shopify with respect to performance and stability: https://twitter.com/paracycle/status/1605706226007941122

If you have any questions, I am more than happy to answer them here. Merry Christmas everyone!

2 comments

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, …

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
Do you know if standard latest Rails 7.0.x runs fine on ruby 3.2?
As far as I know, yes, it should. But I haven't tested it so I can't say for sure.