src/main/scala/s3/website/model/Config.scala in s3_website-2.1.13 vs src/main/scala/s3/website/model/Config.scala in s3_website-2.1.14
- old
+ new
@@ -156,9 +156,10 @@
def erbEval(erbString: String, yamlConfigPath: String): Try[String] = Try {
val erbStringWithoutComments = erbString.replaceAll("^\\s*#.*", "")
rubyRuntime.evalScriptlet(
s"""
+ |# encoding: utf-8
|require 'erb'
|
|str = <<-ERBSTR
|$erbStringWithoutComments
|ERBSTR
\ No newline at end of file