Believe it or not, you can earn gems without a gem code. The trick is completing tasks through the game's reward features.
Start by clicking on your gem count. From there, look for options like Gambit or Ultra Rewards. Pick one and complete whatever it asks of you, and you'll be rewarded with gems.
Just remember to be cautious with any offer that asks for personal information or payment, and never share your account password. With a bit of time, those tasks can add up to a nice gem boost.