I think a key component often missing in these discussions is creating a habitat where good gut bacteria can thrive. This article identifies having fiber a critical to maintaining good gut bacteria.
http://www.scientificamerican.com/article/fiber-famished-gut...