01 -
Set your oven to 350°F (175°C) and get two 9-inch cake pans ready by greasing and dusting them with flour.
02 -
In a big bowl, combine ginger, nutmeg, cinnamon, salt, sugar, baking soda, baking powder, and flour. Stir everything together well.
03 -
Pour the vegetable oil and crack the eggs into the bowl with the dry ingredients, and stir until the mixture is smooth.
04 -
Mix in the carrots, pineapple, vanilla, and walnuts (if you're using them).
05 -
Pour the batter evenly into the two pans you prepared earlier.
06 -
Bake for 30 to 35 minutes, or until a toothpick stuck in the middle comes out clean.
07 -
Take the cakes out of the oven and let them sit in the pans for about 10 minutes. Then carefully transfer them to a rack to cool off completely.
08 -
After cooling down, slather on some cream cheese frosting and you're done!