fix a syntax error add missing gem