need to run commands in production
This commit is contained in:
parent
e926a41a14
commit
8cf48f2636
|
@ -37,7 +37,7 @@ class DockerManager::Upgrader
|
|||
|
||||
def run(cmd)
|
||||
log "$ #{cmd}"
|
||||
IO.popen("cd #{Rails.root} && #{cmd} 2>&1") do |line|
|
||||
IO.popen("cd #{Rails.root} && RAILS_ENV=production #{cmd} 2>&1") do |line|
|
||||
log(line.read)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue