You can get rubies by stepping up, finishing specific journeys, opening specific Achievements in the game, and observing advertisement recordings. Likewise, you can get rubies from guardian's cards and the unique Emerald Mystery occasion.