Commit a99fb39d authored by sdottaka's avatar sdottaka

tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2. #2709

parent 8aba3430
......@@ -22,7 +22,7 @@ class String
if params.is_a?(Hash)
str = self.clone
params.each do |k, v|
str.gsub!("%{#{k}}", v)
str.gsub!("%{#{k}}") { v }
end
str
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment