fixing gemfiles for templates