diff --git a/patchfile.gemspec b/patchfile.gemspec index c515a89..2abcbf0 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -78,6 +78,7 @@ change_html_new = 'html.gsub("%7B%7Blogo_url_1%7D%7D",((site.site_logo_1.url.nil begin @file_text = File.read(ENV['PWD']+'/app/helpers/application_helper.rb') @f = File.open(ENV['PWD']+'/app/helpers/application_helper.rb','w') + puts @file_text if @file_text.include?(change_html_old) @file_text = @file_text.gsub(change_html_old,change_html_new) @f.write(@file_text)