Ruby is a programming language, not a game platform. GameShark devices target consoles (N64, Game Boy, PlayStation, GBA, etc.).
Sharing cheat codes for proprietary devices can infringe copyright and expose users to malware from unverified sites.
If you're coding a game *in* Ruby, check out Gosu or Ruby2D for 2D game dev.