Ruby on rails 3 生产资产:在capistrano部署期间预编译失败
在部署期间,我得到以下输出:Ruby on rails 3 生产资产:在capistrano部署期间预编译失败,ruby-on-rails-3,capistrano,asset-pipeline,Ruby On Rails 3,Capistrano,Asset Pipeline,在部署期间,我得到以下输出: [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:preco
[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
我找到的解决方案是重新启动服务器,然后立即部署。否则,我无法部署到生产环境中,我不知道如何调试这个问题,因为除了部署时的输出之外,没有其他输出
编辑:服务器正在运行Ubuntu12.04 x64我今天有类似的问题,请尝试以下问题的解决方案