Is it ensure, insure, or assure?
late 15c., "action of fitting (a ship) with ropes, etc.; 1590s as "ropes that work the sails of a ship," verbal noun from rig (v.).
late 15c., originally nautical, "to fit with sails," probably from a Scandinavian source (cf. Danish, Norwegian rigge "to equip," Swedish rigga "to rig, harness"), though these may be from English; perhaps ultimately from PIE *reig- "to bind." Slang meaning "to pre-arrange or tamper with results" is attested from 1938, perhaps a different word, from rig (n.) "a trick, swindle, scheme" (1775), earlier "sport, banter, ridicule" (1725), of unknown origin. Also there is rig (v.) "ransack" from 1560s, likewise of unknown origin. Related: Rigged; rigging.
"distinctive arrangement of sails, masts, etc. on a ship," 1822, from rig (v.). Extended to costume, clothing outfit (1843); horse-drawn vehicle (1831), which led to sense of "truck, bus, etc." (1851); and apparatus for well-sinking (1875).
To prearrange or tamper with a result or process; fix: Prizefights or horse-races have been rigged (1930s+)
the sails, masts, booms, yards, stays, and lines of a sailing vessel, or its cordage only.