Update install_sync_fgu.rb
This commit is contained in:
parent
8d42afd6f0
commit
5b3764a888
|
@ -36,7 +36,7 @@ plugins = {"sync_fgu_personal_data" => "http://gitlab.tp.rulingcom.com/chiu/sync
|
|||
a = Dir.glob('../*/')
|
||||
a.each do |d|
|
||||
Dir.chdir(d) do
|
||||
full_dir = Pathname.new(File.expand_path(Rails.root.to_s, d))
|
||||
full_dir = Pathname.new(File.realpath(File.join(Rails.root.to_s, d)))
|
||||
Rails.configuration.instance_variable_set(:@root, full_dir)
|
||||
plugins.each do |plugin, git_url|
|
||||
delete_plugin('built_in_extensions.rb', plugin)
|
||||
|
|
Loading…
Reference in New Issue