The situation is an epic mess, and it's difficult to see how it will be resolved. While being Speaker puts you 2nd in line, it's considered a dead-end job, so Ryan wants no part of it. It's hard to see anyone else in the House who could win a majority. Technically, the Speaker does not have to be a member of the House, so they could look outside Congress, although there is no precedent for that. Does Boehner stay on? If he does, would he be stronger or weaker than before? It's anyone's guess.
"It does me no injury for my neighbour to say there are 20 gods or no god. It neither picks my pocket, nor breaks my leg."
-- Thomas Jefferson