That isn’t really a railroad, more like a tramway or wagonway. Those are very old, the Diolkos dated back to the 7th century BCE, and the Qin dynasty had something similar for hauling coal. That type came from Europe and had been in regular use since the 1300's. Wood was perfectly fine for those.