Update install_sync_fgu.rb
This commit is contained in:
parent
5b3764a888
commit
7b1cd89a04
|
@ -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/.`
|
||||
|
|
Loading…
Reference in New Issue