From cc4c8bd9b14ac6e4127cc825ba0f444bc5628305 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 11:09:20 +0800 Subject: [PATCH] try --- announcement.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index 330f52f..c9d41ef 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -30,7 +30,7 @@ all_template.each do |folder| end end if old_gemfile_text != new_gemfile_text - File.open(ENV['PWD']+'/Gemfile', 'r') do |file| + File.open(ENV['PWD']+'/Gemfile', 'w') do |file| file.write new_gemfile_text end Thread.current = Thread.new do