fixing gem file syntax errors