Updated gems and fixed a syntax error