manage gems' setup templates in their ruby files