remove rm

This commit is contained in:
chiu 2020-02-21 09:17:18 +08:00
parent a870595a2f
commit d9d37e847b
1 changed files with 0 additions and 11 deletions

View File

@ -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