To bring to the gangway

to punish (a seaman) by flogging him at the gangway.

See also: Gangway

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.