Heat the oil in a large, flameproof casserole dish or heavy-based saucepan. Add the onion and cook for 5 minutes until softened. Stir in the garlic, ginger and curry paste and cook for a further 1 minute. Add the chicken and red pepper, followed by the rice, and stir well.
Pour in the coconut milk and stock and season to taste. Bring to the boil, then reduce the heat and simmer for about 10 minutes until nearly all the liquid has boiled away.
Turn the heat down as low as it will go, cover the pan and cook for a further 5 minutes or until the rice is cooked through. Sprinkle over the basil and serve the rice hot with lime wedges for squeezing.