c.1489, originally nautical, "to fit with sails," probably from a Scand. source (cf. Dan., Norw. rigge "to equip," Swed. rigga "to rig"), though these may be from Eng. Slang meaning "to pre-arrange or tamper with results" is attested from 1938. The noun meaning "distinctive arrangement of sails, masts, etc. on a ship" is first recorded 1822; extended to horse vehicles (1831), which led to sense of "truck, bus, etc." (1851).