You can't redeem money from gems. It's not gambling.
Like RiverBummer said, various technicalities allow them to get around anti-gambling laws. There's no denying the essence of what it is. No one is that naive. But whether it can be called that by law and enforced as such? Well, that is the issue.