Steps
1. Heat olive oil in a pan over medium-high heat.
2. Add garlic and ginger and stir until fragrant.
3. Add pineapple cubes and fry for a few minutes.
4. Pour in the cooked rice and mix until the ingredients and combine.
5. Season with salt and pepper and stir until everything is evenly combined.
6. Serve hot.