Fix ruby syntax on subtasks