Uh, its a bad idea to try to just skip to the gym as you can break cutscenes and who knows what can go wrong due to absence of some triggers in the game.
Soo yeah, in order to get to the gym, you need to go to tourmaline station, to the desert, then finish the train puzzle, and it should be clear from that point :).