ViewRay, which makes the MRIdian radiation-therapy system, said it has filed for bankruptcy and plans to sell some or all of its assets. The company said it has received a commitment of about $6 million in debtor-in-possession financing from MidCap Financial Services. That, along with existing liquidity, should be enough to support operations through the Chapter 11 process. The...