Idiot oil light just lit after intake swap.

Where is the sending unit for the gauge? It should be right at the back of the engine. Is it possible you pinched a wire somewhere?