Update install_sync_fgu.rb

This commit is contained in:
邱博亞 2024-01-26 08:27:30 +08:00
parent 5b3764a888
commit 7b1cd89a04
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ a.each do |d|
templates = Dir.glob('app/templates/*/')
plugins.each do |plugin, git_url|
puts "copy modules: #{plugin}"
x = `bundle show #{plugin}`.strip
x = Bundler.with_clean_env {`bundle show #{plugin}`.strip}
if x.present?
templates.each do |template|
`cp -rf #{x}/modules/* #{full_dir}/#{template}modules/.`