In a small bowl add the ginger, sugar garlic, cinnamon, all spice berries, bay leaves and vinegar and stir.
Put a medium saucepan on medium heat and add the above mixture and cover. Bring to a boil, turn off the heat and let stand for 12-15 minutes.
Strain to discard all spices and pour the hot mixture on vegetables. Cover with a plastic wrap and refrigerate for 4-6 hours. Before serving drain well.