How far apart should I space a garlic supplement and ibuprofen?

No interaction. There is no reason to think that there would be a difference in absorption of either substance if taken together. However, of one of them gives you heartburn by itself, then definately take that one with food or stop taking it entirely, if the symptoms continue.