Remove rails dependencies