To prepare a summer spaghetti with gazpacho sauce pasta recipe, you'll first need to prepare the pasta. Wash the spaghetti and cut it in half lengthwise. Heat the olive oil over medium-high heat. Add the onion and garlic and cook until softened, about 5 minutes. Stir in the tomato paste and salt and pepper to taste. Cook, stirring frequently, until the mixture starts to thicken, 2 to 3 minutes, scraping up any browned bits from the bottom of the pan. Remove the skillet from heat and add the ricotta cheese. Toss to coat.