用 capistrano 部署真折腾啊。好不容易到了这一步卡住了:
[err :: 192.168.1.2] cat:
*** [err :: 192.168.1.2] /home/fool/www/ruby-china/current/tmp/pids/unicorn.pid
*** [err :: 192.168.1.2] : No such file or directory
*** [err :: 192.168.1.2]
*** [err :: 192.168.1.2] kill: 1:
*** [err :: 192.168.1.2] Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
*** [err :: 192.168.1.2] kill -l [exitstatus]
*** [err :: 192.168.1.2]
command finished in 41ms
看了下 config/unicorn.rb 的源码 似乎要 kill 掉原先运行的 unicorn.对于升级部署当然是必要的。 可是这个全新的部署怎么办呢?我哪里弄错了吗?