Make ruby blocks persistent