Answer
While working on the railroad, Jimmie Rodgers was influenced by the music of the gandy dancers, who were railroad workers known for their impromptu blues performances. These performances helped shape Rodgers' musical style and contributed to his development as an artist.