Curve modifier not working, Can only deform along z axis
Not really sure what is worng with your curve specifically, but replacing it with a Bezier Curve instead of a NURBS Path seems to solve the issue.

Converting didn't seem to be enough