Fix coveralls.io call: move it to the top and add the rails parameter.