forked from saurabh/orbit4-5
fix for update manager
This commit is contained in:
parent
d0f35af7d5
commit
8663cf3699
|
@ -105,8 +105,7 @@ class Admin::SitesController < OrbitAdminController
|
|||
result = "failed"
|
||||
else
|
||||
result = "success"
|
||||
p1 = fork { bundle_update }
|
||||
Process.detach(p1)
|
||||
Bundler.with_clean_env { `cd #{Rails.root} && bundle update` }
|
||||
end
|
||||
|
||||
render :text => result
|
||||
|
|
Loading…
Reference in New Issue