Fixing an issue where templates weren't displaying under Ruby 2.x