Railroads and what actions rifles used has little bearing on industrial warfare.
"One of the main features of Industrial warfare is the concept of "total war". The term was coined during World War I by Erich Ludendorff (and again in his 1935 book "Total War"), which called for the complete mobilization and subordination of all resources, including policy and social systems, to the German war effort. It has also come to mean waging warfare with absolute ruthlessness, and its most identifiable legacy today has been the reintroduction of civilians and civilian infrastructure as targets in destroying a country's ability to engage in war."
There is some merit to the claim that the American Civil War was was the first total war, which Sherman called "hard war", but in contrast to later wars, the damage done by Sherman was almost entirely limited to property destruction. Full industrial warfare however it was not.