When the plastic rails on my sliding, under sink trash bin broke I made these.
Printed in ABS on a 2x. I had to paint a solution of ABS dissolved in acetone onto the build plate to make the parts stick and prevent warping. Print the male and female part and then line them up and screw them in place. You could glue them together before screwing them in, but that isn't necessary.