From 65b96b9fdc1ce38316d237291d7b1a7f4f1d82ad Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Mon, 13 Jan 2020 19:15:43 +0800 Subject: [PATCH] fix --- cancerpredict.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cancerpredict.gemspec b/cancerpredict.gemspec index 9e89829..972e7d8 100644 --- a/cancerpredict.gemspec +++ b/cancerpredict.gemspec @@ -29,14 +29,14 @@ all_template.each do |folder| puts 'error copy' end end - texts = File.read(folder+'/partial/_head.html.erb') + texts = File.read(folder+'partial/_head.html.erb') insert_flag = 0 if texts.include?(check_texts) texts.gsub(check_texts,edit_texts) insert_flag = 1 end if insert_flag == 1 - f = File.open(folder+'/partial/_head.html.erb','w') + f = File.open(folder+'partial/_head.html.erb','w') f.write(texts) f.close end