missing end in rake task

Fix to bug mentioned https://github.com/exercism/exercism.io/issues/2081