Gold walks up to a wall of the cave and presses a gem into the wall which seemed to be some kind of mechanism that opened a very narrow opening, just big enough for Gold to fit through, which explains why the Ruby Charriot would not fit.