This commit is contained in:
chiu 2020-02-17 21:05:33 +08:00
parent 5824f807dc
commit 8362e6ddb2
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ if old_gemfile_text != new_gemfile_text
f.puts exist_str
}
end
all_command = "#{command1} && cd #{ENV['PWD']} && #{command2} ; #{command3} ; #{command4} ; kill -s TERM `cat tmp/pids/unicorn.pid` ; bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now"
all_command = "#{command1} && cd #{ENV['PWD']} && #{command2}; #{command3}; #{command4}; kill -s TERM `cat tmp/pids/unicorn.pid`; bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now"
a = Thread.start do
Bundler.with_clean_env do
puts ENV['PWD']