Cables rubbing on axis

I recently upgraded my SM1 to the bigger z axis and noticed one of the cables was completely rubbed through the outer casing and was working on the wires next on my SM1. decided to look at my A350 and noticed on the bed cable that it was quickly getting rubbed on the y axis linear rails. What have others done to keep their cables from rubbing. I have finally finished my ghetto enclosure and added some lights connected to octoprint!!