Most likely the rhubarb was under ripe. You want a bright red stalk with the leaves and stems completely removed. The ratio of fruit and sugar is also vital so I suggest sticking to the measurements in the recipe.