(Flood Ruins isn't a spell.)
Flood Ruins enters the battlefield tapped unless you pay 2 life.
Whenever a card is put into a graveyard from anywhere, exile that card.
, Pay 1 life, Sacrifice Flood Ruins: Search your library for a Island or Swamp card and put it onto the battlefield, then shuffle your library.