renamed template to template_puma to avoid conflict
Patch to support RVM