$z^2+z+1 = \left( z^2+z+\frac 1 4 \right) + \frac 3 4 = \left( z + \frac 1 2 \right)^2 + \frac 3 4 = 0$ if and only if $z= -\frac 1 2 \pm i\sqrt{\frac 3 4} = - \frac 1 2 \pm i\frac{\sqrt 3} 2$, so you're missing a $2$.
$$
\frac 1 {z^2+z+1} = \frac 1 { \left( z+ \frac 1 2 + i \frac{\sqrt 3} 2 \right) \left( z+ \frac 1 2 - i \frac{\sqrt 3} 2 \right) }
$$
Fortunately you said the path is "simple" so that precludes winding $10$ times around one of these points and $7$ times around the other, etc. But you didn't say "closed", i.e. returning to its starting point.
There is a simple pole at each of those two points. If a curve winds once around one of those points and not around the other, then the integral will not be $0$. If it winds around neither, the integral will be $0$.
But what if it winds around both, once each? Then the integral will be the sum of the two numbers you get by winding around each once. Will that be $0$, or not?
First suppose $\gamma$ winds once around $- \frac 1 2 + i \frac{\sqrt 3} 2$ and not around $- \frac 1 2 - i \frac{\sqrt 3} 2$. Let $w= z - \left( - \frac 1 2 + i \frac{\sqrt 3} 2 \right)$ so that $dw=dz$. Then we have
$$
\int_\gamma \frac 1 { \left( z+ \frac 1 2 + i \frac{\sqrt 3} 2 \right) \left( z+ \frac 1 2 - i \frac{\sqrt 3} 2 \right) } \, dz = \int_{\gamma - \left( - \frac 1 2 + i \frac{\sqrt 3} 2 \right)} \frac{dw}{(w + i\sqrt 3)w}
$$
and the curve $\gamma - \left( - \frac 1 2 + i \frac{\sqrt 3} 2 \right)$ winds once around $0$ and not around $-i\sqrt 3.$ The value of $w + i\sqrt 3$ at $w=0$ is $i\sqrt 3$, so the integral is
$$
i\sqrt 3 \int_{\gamma - \left( - \frac 1 2 + i \frac{\sqrt 3} 2 \right)} \frac {dw} w.
$$
Evaluate that integral and do the same with a curve winding only around the other point and see if they add up to $0$ or not.