On button 5bb's left, about 4-5 people also with 5bb's, I shoved, lost to ace rag.

Was this a smart play? or should I be waiting for others to bust even if this might be the best hand I get.