Friend, it's your fault for getting into your feelings, and let it drive your actions, controlling your emotions. Makeup with her, you care about her a lot, maybe even more than friends and don't know it.
Dude swallow your pride, apologise, and take her on a date. Or just out to eat as an apology. Update us on the outcome.