My planned ruffle was not a success. I guess I tried to force too many stitches into too small a space. This was the result.
I don't think it can be fixed, so I'll need to replace it. Meanwhile I've ripped out the offending stitches and am back to a plain garter stitch scarf. I guess it will have to be a crochet ruffle.