This flavorful side dish from Molly Stevens's "All About Roasting" is ready in minutes. Also try: Standing Rib Roast with Yorkshire Pudding
Preheat oven to 450 degrees with a rack set in center of oven. Line a heavy-bottomed rimmed baking sheet with parchment paper; set aside.
Finely grate ginger, if using fresh, on a microplane grater. You should have about 2 tablespoons grated ginger. Squeeze ginger over a small fine mesh sieve set over a bowl or in a piece of cheesecloth into a bowl, extracting as much liquid as possible. You should have about 1 tablespoon ginger juice. Discard grated ginger.
Place beans and shallots on prepared baking sheet; drizzle with oil and season with salt and pepper; toss to combine. Transfer to oven and cook, until beans are tender and browned in spots and beginning to shrivel and shallots are browned in spots, 15 to 20 minutes, tossing once or twice during cooking.
Immediately transfer beans and shallots to a serving bowl and add garlic and ginger juice; toss to combine. Add cilantro or mint and season with salt; toss to combine. Serve warm or at room temperature.