If you ignore the fact that this is a rails app, you can see a similar error here: An error occurred during deployment.
In that case, the Rails app was dying (because of lack of memory) and fly could not find a healthy instance. I suspect that something similar is happening here, though the root cause no longer appears to be a lack of memory.
Have you tried running your Dockerfile locally?