According to the wiki, gun smithing rank relates to a "decrease in repair penalties and get more from repair kits. Reduce ammunition crafting time."
I think the biggest piece of advice that I could give you has more to do with scavenging and the workbench. Stay with me here...
Find a town and...