Stephen Foster published it in 1848. It became the unofficial anthem of the California Gold Rush, yet Foster earned just $100 from it.