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