Capistrano 3, Middleman 4

Has anyone figured out how to get Capistrano 3 working with Middleman 4?
I just killed a few hours trying to get middleman build to run properly during the deployment… to no avail.