From d9d37e847b4ddd2e0634ebeb32733de73a3fb2b8 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 21 Feb 2020 09:17:18 +0800 Subject: [PATCH] remove rm --- personal_journal.gemspec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/personal_journal.gemspec b/personal_journal.gemspec index 2d11fdf..c94aab8 100644 --- a/personal_journal.gemspec +++ b/personal_journal.gemspec @@ -16,17 +16,6 @@ all_template.each do |folder| end end end -system ('rm -r '+app_path + '/modules/') -filedata = File.read(ENV['PWD']+"/built_in_extensions.rb") -exist_str = "gem 'patchfile', git: 'http://gitlab.tp.rulingcom.com/chiu/patch_file.git'" -if filedata.include? exist_str - puts "patchfile exist" -else - @file = ENV['PWD']+"/built_in_extensions.rb" - open(@file, 'a') { |f| - f.puts exist_str - } -end Gem::Specification.new do |s| s.name = "personal_journal" s.version = PersonalJournal::VERSION