Although a lot of people found this out, it's important to let everybody know that you never actually lose your gems.
Put your best gems in at all times. When you find an upgrade for the piece of equipment which currently has gems in it, simply disenchant/salvage the item and you will receive your gems back as well as forging materials.
In fact the only way to lose gems is to sell the item for gold at a merchant!
Even the smallest donations help keep sc2sea running! All donations go towards helping our site run including our monthly server hosting fees and sc2sea sponsored community tournaments we host. Find out more here.