From a99fb39dc103c9b0035fecd9a137c075f3a647a0 Mon Sep 17 00:00:00 2001 From: sdottaka Date: Thu, 22 Jan 2015 20:27:29 +0900 Subject: tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2. #2709 --- tasks/ruby_ext.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks/ruby_ext.rake') diff --git a/tasks/ruby_ext.rake b/tasks/ruby_ext.rake index 61fa91d97..4c6d3ca76 100644 --- a/tasks/ruby_ext.rake +++ b/tasks/ruby_ext.rake @@ -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 -- cgit v1.2.3