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