Automatic gear rack lubrication