While opening the quarry gate by pulling the gate open and walking along side of the gate; a rock became lodged under the gate causing a sudden stop of the gate's motion. The employee's arm/shoulder was pulled back suddenly causing a pain in the shoulder.