Ruby is a town in Chesterfield County, South Carolina, United States. The population was 307 at the 2020 census. Originally named "Flint Hill", Ruby was first settled in 1875. As with other nearby towns, it didn't develop until the railroad was constructed through town. The Cheraw & Lancaster Railroad arrived in 1902, and Ruby incorporated the same year.