Does Gerrymandering Undermine Democracy?

With the geography of our voting landscape being drawn along party lines, where does the “one person, one vote” basis for democracy fit in?