Forum Thread
Gem Cauldron
Forum-Index → Bug Reports → Resolved → Gem CauldronThat means that if you had exactly 5 of one type but then accidentally used one, you wouldn't have enough gems to complete the mega stone boiling.
It's probably not a bug, you might have actually run out of gems.