clear ruby opt, it is a problem

This commit is contained in:
Sam 2013-11-26 14:46:02 +11:00
parent 8cf48f2636
commit eea17bb21d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class DockerManager::Upgrader
def run(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)
end