The show was filmed at Camp Pendleton, Desilu Studios's Desilu-Cahuenga, and RKO Forty Acres backlot, where "The Andy Griffith Show" was filmed. Though Ruben preferred the use of a multiple-camera setup for comedy programs, "Gomer Pyle" used a single-camera setup because much of the shooting was conducted outdoors. In his book "And The Show Goes On", Sheldon Leonard explained that the armed forces offer levels of "cooperation" with filmmakers. Because the Marines felt that the show would be good for the branch's image, "Gomer Pyle" was given "total cooperation," meaning that the show was allowed unlimited access to military equipment.