The rules say "as soon as you acquire both tiles of one mosque" you gain a ruby. Do both mosque tiles have to be the same color, or do you merely need to acquire one from each stack at some point in the game?
You may only have 1 copy of each tile. So once you have 1 colour you can't get another of the same colour. Yuo gain a ruby once you have both colours from the same mosque.