First of all it is unlikely that a person that was not even a candidate in the primaries, would win the GOP nomination. However if such an event were to happen I imagine their might be some outcry from some Republicans and non-Republicans. Anyways in this scenario I would guess the GOP nominates either the runner up or one of the top finishers to be the VP Nominee, in this case I would guess Ted Cruz. I will use Hillary Clinton and Julian Castro on the Democrat ticket. Their are no third parties I imagine.
After facing a large deficit in the polls Ryan is able to rally the GOP ticket running a strong moderate campaign, holding all of the 2012 GOP states, while picking up Wisconsin, Colorado and Florida, Narrowly loosing Michigan and Ohio, and with that the Presidency.
Clinton/Castro 284 EV 51%
Ryan/Cruz 254 EV 49%