Reject both Nick and Eric throughout the game and have Rachel survive. I recommend keeping relationships as Rachel with Nick and Eric negative as possible.
When the three of them reach the place where Jason drew the arrow on the floor before heading down the elevator, she will break up with both. After this just keep Rachel alive.
Credit to ThePugHybrid for their
guide.