Coach Didier Deschamps had hoped Ribery would play a part in the friendly match against Jamaica on Sunday, but the Bayern Munich winger was replaced on Friday by Montpellier winger Remy Cabella.
Cabella was on the reserve list and has made just one substitute appearance for France.
In another setback for Deschamps, attacking midfielder Clement Grenier has also been ruled out with a recurrence of a groin injury that has hampered him all season for Lyon. The 23-year-old Grenier tore his right groin in training on Thursday and has been replaced by Southampton's Morgan Schneiderlin.
What it means
This is bad news for Les Bleus and fans of the tournament in general. Ribery was viewed as one of the stars of the upcoming World Cup, and losing him is a serious blow to France's chances in Brazil. His pace, and ability to take on defenders one-on-one, can't be replaced.