Which event increased interest in a railroad route to California?

Discovery of gold
Opening the Erie Canal
Improvement of the lock system
Joining the First Transcontinental Railroad