The authors present a simple general method for simultaneously producing tens of submicron electrode gaps with different cathode and anode materials on top of nanofibers, nanowires, and nanotubes, with an optional gap size variation. Using this method, an ensemble of para-hexaphenylene (p6P) nanofiber devices of different length was fabricated with Sm and Au electrodes. The measured I-V characteristics are in agreement with a nonlinear hopping transport model, where domain barriers dominate the transport with an estimated domain size of 23 +/- 5 nm.