When you have beaten the Elite Four go and got the National Dex, the two team rockets should Battle you, when you win they will have dug a cave go in and get the Ruby Plate. Take the Plate to the man by the Network Machine. He will give you the Rainbow ticket and you can now swap to Pokemon Ruby Version.
357400B2
51CF1F27
2E270374
good luck