Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 13:08:27 +08:00
parent e00ea77baf
commit 40ffe6224e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ all_template.each do |folder|
end end
end end
end end
puts ['old_path', ENV['PWD'] + '/app/templates','new',app_path+'/temp_file/Gemfile']
puts ['flag',old_gemfile_text != new_gemfile_text] puts ['flag',old_gemfile_text != new_gemfile_text]
if old_gemfile_text != new_gemfile_text if old_gemfile_text != new_gemfile_text
File.open(ENV['PWD']+'/Gemfile', 'w') do |file| File.open(ENV['PWD']+'/Gemfile', 'w') do |file|