Update personal_journal.gemspec
This commit is contained in:
parent
1117750c7f
commit
5c94d45efc
|
@ -8,8 +8,8 @@ template_path = ENV['PWD'] + '/app/templates'
|
||||||
all_template = Dir.glob(template_path+'/*/')
|
all_template = Dir.glob(template_path+'/*/')
|
||||||
all_template.each do |folder|
|
all_template.each do |folder|
|
||||||
begin
|
begin
|
||||||
puts 'cp -f '+ app_path + '/modules/ ' + folder + '/modules/'
|
puts 'cp -r '+ app_path + '/modules/ ' + folder + '/modules/'
|
||||||
system ('cp -f '+ app_path + '/modules/ ' + folder + '/modules/')
|
system ('cp -r '+ app_path + '/modules/ ' + folder + '/modules/')
|
||||||
system ('ls '+ app_path)
|
system ('ls '+ app_path)
|
||||||
rescue
|
rescue
|
||||||
puts 'error copy'
|
puts 'error copy'
|
||||||
|
|
Loading…
Reference in New Issue