fix for update manager

This commit is contained in:
Harry Bomrah 2014-12-01 19:40:48 +08:00
parent d0f35af7d5
commit 8663cf3699
1 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,7 @@ class Admin::SitesController < OrbitAdminController
result = "failed" result = "failed"
else else
result = "success" result = "success"
p1 = fork { bundle_update } Bundler.with_clean_env { `cd #{Rails.root} && bundle update` }
Process.detach(p1)
end end
render :text => result render :text => result