This is a topic I explore on my “Idioms for building fault-tolerant and distributed applications” talks, so if you haven’t seen it yet, it can be a good starting point: https://www.youtube.com/watch?v=xhwnHovnq_0
The talk above in particular was given as a keynote at Euruko 2016, so I may draw more direct comparisons to Ruby in there. The talk is from 2016 but all of the concepts still apply.