You can glue the lightwire in place all along the 'gutter' of any ramp as the curvatre of the ball will NEVER make contact in the very edge of the ramp.
Don't use super-glue as it'll acid-etch into the plastic and make it milky white, so use some other clear glue.
You can also glue it on the underside of ramps, pulling tension to keep it snug to the ramp and only glueing in certain areas that aren't seen like posts etc.
Also, there s EL sheet which is flat and can be custom cut into strips & shapes and it's self adhesive to.
have fun.