I had the same problem. I figured out that you just need to put two skill points into the "Repair" skill and then right click on the weapon. A small menu will pop up and the word "Repair" will then be highlighted and all you need to do is left click on the word "Repair". Your weapon will then be repaired!