diff --git a/lib/omnibus/templating.rb b/lib/omnibus/templating.rb index 47016cd70..d6b454d95 100644 --- a/lib/omnibus/templating.rb +++ b/lib/omnibus/templating.rb @@ -36,8 +36,7 @@ def self.included(base) # the list of variables to pass to the template # def render_template_content(source, variables = {}) - template = ERB.new(File.read(source), nil, "-") - + template = ERB.new(File.read(source), trim_mode: "-") struct = if variables.empty? Struct.new("Empty")