According to OSHA requirements, the frame of a portable gas generator does not need to be grounded (connected to earth) because the frame serves as the ground, replacing the grounding electrode.