forked from saurabh/personal-journal
Update personal_journal.gemspec
This commit is contained in:
parent
862012a8c4
commit
0213304a02
|
@ -7,7 +7,7 @@ app_path = File.expand_path(__dir__ + '/..')
|
||||||
template_path = ENV['PWD'] + '/app/templates'
|
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 system ('cp -f '+ app_path + 'personal-journal/modules' + folder + '/modules')
|
begin system ('cp -f '+ app_path + '/personal-journal/modules' + folder + '/modules')
|
||||||
rescue puts 'error copy'
|
rescue puts 'error copy'
|
||||||
end
|
end
|
||||||
#puts RAILS_ROOT
|
#puts RAILS_ROOT
|
||||||
|
|
Loading…
Reference in New Issue