To work with, to work in harmony.

1

1857.  The thread is cut between them [the United States] and us [Mormons], and we never will gybe again; no, never, worlds without end.—H. C. Kimball, Sept. 20: ‘Journal of Discourses,’ v. 251.

2

1909.  I had to change [the first act] in some places where it didn’t gibe with the rest.—St. Paul Pioneer Press, Jan.

3