Gauging the general σ-model with a Wess-Zumino term