searching for gem log ... fix script syntax error