Rail mounted power supply