<human>: Can you give me the gist of the text in a nutshell?

A friend of mine ranted to me about how another friend of hers just got engaged. This friend is at a point in her life where she really wants to get married, but she just hasn't found the right guy yet. 

I tried going through the usual to make her feel better: 
I tried to find a solution: "Have you tried a dating site? What about volunteering somewhere?"
I assured her: "You're pretty, smart, the total package, you'll find someone, just give it more time..." 
I made light of the situation: "Wow they got engaged after three months, sounds like a shot gun wedding to me" 
I offered a new perspective: "Maybe he's got a friend who's perfect for you"

Nothing worked, if anything, I felt like I was making her feel worse. She kept bouncing back and forth from being really happy for her friend, but also frustrated that the same wasn't happening to her. I have no idea what I'm supposed to do in a situation like that. 

Does she just want to rant to someone? Cause if she does, why bother going to a person? You can just write it in a journal or something. 

My thought process is that if you go to someone with a problem you want either A) validation, B) a solution, C) a new perspective, or D) to feel better. And none of those things worked. 

For the future, what should I do to make something like this better?
<bot>: I tried making a friend feel better while she was ranting, and failed miserably. Would like to avoid this problem again.