From what I've seen, you share the host filesystem into the dev container automagically. So make code changes in editor, run tool on same dir in container.
makes working with ruby pretty easy. I mean, I'm fairly competent at managing rbenv, but if I can use the exact same image to develop in that I deploy in? Win-Win.
Distrobox is essentially just podman/docker, but with preconfigured defaults to make it more intuitive and straightforward when you need a single environment with multiple uses / applications.