To make a gluten-free carrot cake, you simply need to swap out the flour for a gluten-free flour mix.  I have made it with many different brands over the years and they all work well.  If the mix doesn't contain xanthan gum, you can add 1 tsp of xanthan gum to help it bind together better.