Preheat the oven to 400 degrees. Heat an oven safe pan on the stove over medium heat. Add the jar of marinara sauce and spinach. Cook until spinach is wilted, about 3 minutes.
Add gnocchi and stir. Dollop the ricotta over the top of everything. The easiest way to do this is to use two spoons, scooping 1-2 tbsp of ricotta onto one spoon, then using the other spoon to scrape it off. Sprinkle the parmesan on top and turn off the stove.
Transfer the pan to the oven and bake for 15-20 minutes. The ricotta should be starting to melt and brown. Remove from the oven and sprinkle with fresh basil. Enjoy!
Keep any leftovers in a sealable container in the fridge. Leftovers will last in the fridge for 3-4 days.