AFAIK almost everyone in the development team uses a native dev environment.
I’ve been using asdf to manage versions for the many tools I use, so for me it’s just a
asdf install ruby 3.1.3
asdf local ruby 3.1.3
to get Discourse running in the new Ruby.
Very useful for me since I’ve been benchmarking Discourse across rubies and handling the Ruby upgrade.