The aggregation, arrangement and bonding together of a set of components to form a ripoptosome, a protein complex whose formation can induce an extrinsic apoptotic signaling pathway or a necroptotic signaling pathway. The composition of this protein complex may depend on several factors including nature of the signal, cell type and more. (Gene Ontology, GO_0097343)