Change ruby to erb in templates