use erb dir for template