在部署期间,我得到以下输出:
[xx.xxx.xxx.xx] executing command
** [out :: xx.xxx.xxx.xx] ** Invoke assets:precompile (first_time)
** [out :: xx.xxx.xxx.xx] ** Execute assets:precompile
** [out :: xx.xxx.xxx.xx]
** [out :: xx.xxx.xxx.xx] ** Invoke assets:precompile:all (first_time)
** [out :: xx.xxx.xxx.xx] ** Execute assets:precompile:all
** [out :: xx.xxx.xxx.xx] ** Invoke assets:precompile:primary (first_time)
** [out :: xx.xxx.xxx.xx] ** Invoke assets:environment (first_time)
** [out :: xx.xxx.xxx.xx] ** Execute assets:environment
** [out :: xx.xxx.xxx.xx] ** Invoke environment (first_time)
** [out :: xx.xxx.xxx.xx] ** Execute environment
** [out :: xx.xxx.xxx.xx] ** Invoke tmp:cache:clear (first_time)
** [out :: xx.xxx.xxx.xx] ** Execute tmp:cache:clear
** [out :: xx.xxx.xxx.xx] ** Execute assets:precompile:primary
** [out :: xx.xxx.xxx.xx] Killed
bundle -v
输出为1.1.5
我找到的解决方案是重启服务器并在之后立即部署。否则,我无法部署到生产环境,我不知道如何调试此问题,因为除了在部署时死亡之外没有其他输出。
编辑:服务器正在运行Ubuntu 12.04 x64