gpt4 book ai didi

ruby-on-rails-3 - 生产 Assets :precompile fails during capistrano deploy

转载 作者:行者123 更新时间:2023-12-02 00:18:12 24 4
gpt4 key购买 nike

在部署期间,我得到以下输出:

[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

最佳答案

我今天遇到了类似的问题,请尝试解决以下问题

https://stackoverflow.com/a/11893146

关于ruby-on-rails-3 - 生产 Assets :precompile fails during capistrano deploy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12169452/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com