From 5c94d45efc9f3a99a94ccb02a974ab9c592728e8 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 21 Aug 2019 14:36:05 +0800 Subject: [PATCH] Update personal_journal.gemspec --- personal_journal.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/personal_journal.gemspec b/personal_journal.gemspec index f8dfcfd..fe403a5 100644 --- a/personal_journal.gemspec +++ b/personal_journal.gemspec @@ -8,8 +8,8 @@ template_path = ENV['PWD'] + '/app/templates' all_template = Dir.glob(template_path+'/*/') all_template.each do |folder| begin - puts 'cp -f '+ app_path + '/modules/ ' + folder + '/modules/' - system ('cp -f '+ app_path + '/modules/ ' + folder + '/modules/') + puts 'cp -r '+ app_path + '/modules/ ' + folder + '/modules/' + system ('cp -r '+ app_path + '/modules/ ' + folder + '/modules/') system ('ls '+ app_path) rescue puts 'error copy'