Gasoline prices rose slightly in the Bay Area in the wake of an explosion and fire that knocked an East Bay refinery offline.