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"
else
result = "success"
p1 = fork { bundle_update }
Process.detach(p1)
Bundler.with_clean_env { `cd #{Rails.root} && bundle update` }
end
render :text => result