From 60ad8d34a782c7eb61790c9e2770b4183e6bb5ea Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 21 Aug 2019 14:55:14 +0800 Subject: [PATCH] Update personal_project.gemspec --- personal_project.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/personal_project.gemspec b/personal_project.gemspec index 171174c..8dc1c9e 100644 --- a/personal_project.gemspec +++ b/personal_project.gemspec @@ -5,9 +5,9 @@ require "personal_project/version" app_path = File.expand_path(__dir__) template_path = ENV['PWD'] + '/app/templates' all_template = Dir.glob(template_path+'/*/') +puts 'copying module' all_template.each do |folder| begin - puts 'copying module' system ('cp -r '+ app_path + '/modules/ ' + folder) rescue puts 'error copy'