An offshore oil rig has exploded in the Gulf of Mexico, west of the site of the April blast that caused the massive oil spill.