What have you found works best? Pre-built Virtual Box image? Vagrant? Kubernetes? Do you just run everything locally?
I've tried:
- Running locally on my Mac - VirtualBox with a fresh install of Ubuntu. - VirtualBox with pre-build images meant for Rails. - Vagrant with a pre-built image meant for Rails.
...and lots of variations on those themes. They've all proven to be nightmares for me.
Would love to hear from other devs on this, especially indie devs who need things to be as lean and simple as possible. I love Rails (well, I love Ruby and more-or-less like Rails) and don't want to move away from it. But maintaining my dev environment is a nightmare, in ways that I've never experienced with other languages and frameworks.
In the past I used rvm on ubuntu, currently I utilise asdf-vm on a ubuntu windows subsystem for linux. All rails apps I'm on utilise docker for production and ci/cd.