The Wales international suffered an injury during Arsenal’s 1-0 victory over Napoli in the second leg of their Europa League quarter-final last month.
Ramsey was substituted in the 34th minute with a suspected hamstring injury as Arsenal set up a semi-final meeting with La Liga side Valencia.
The 28-year-old has now confirmed that he is set to miss the rest of the season due to the hamstring problem that he suffered in Naples.
As a result, Ramsey has played his final game for Arsenal after 11 years at the north London club ahead of his free transfer to Juventus this summer.
The Welsh star signed a pre-contract agreement with the Serie A giants earlier this season after Arsenal reportedly withdrew their offer of an extension.
Ramsey took to his Instagram page to write an emotional open letter to Arsenal supporters:
“It saddens me to say that the game against Napoli was my last game in an Arsenal shirt. Unfortunately it left me with an injury that rules me out of the remaining games.
“I am really disappointed not to play until the end and give everything for the club while I am still an Arsenal player. Unfortunately it’s out of my hands but I wanted to say thank you to the fans for your support.”
Ramsey added: “It has been a journey, on and off the field, and so much has happened in 11 years. I was a spotty young kid coming in and I’m leaving a man, married, father of three boys and full of pride and good memories that I will treasure.
“It will be emotional this weekend – my last game at home. I Look forward to seeing you there and thank you all again from the bottom of my heart for everything #arsenal #lastgame”
Arsenal signed Ramsey in a deal worth £6m from Cardiff City back in 2008 despite interest from Manchester United.
The Wales international has won three FA Cup crowns during his 11-year spell at Arsenal.
Ramsey has scored 64 goals in 359 appearances in all competitions for the Premier League side.
MORE: Man United latest news
MORE: Arsenal latest news
MORE: Chelsea latest news
MORE: Liverpool latest news