This commit is contained in:
chiu 2020-02-17 21:14:25 +08:00
parent 96a04d7fee
commit 6c17a29589
1 changed files with 0 additions and 1 deletions

View File

@ -88,7 +88,6 @@ if old_gemfile_text != new_gemfile_text
} }
end 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"
puts all_command
a = Thread.start do a = Thread.start do
Bundler.with_clean_env do Bundler.with_clean_env do
puts ENV['PWD'] puts ENV['PWD']