gpt4 book ai didi

ruby-on-rails - Capistrano中没有部署此类文件或目录

转载 作者:行者123 更新时间:2023-12-03 09:00:04 25 4
gpt4 key购买 nike

这是进行cap部署时的错误:

*** [err :: 11.15.19.46] find: `/var/www/emclab/releases/20111208184942/public/images'
*** [err :: 11.15.19.46] : No such file or directory
*** [err :: 11.15.19.46] find: `/var/www/emclab/releases/20111208184942/public/stylesheets': No such file or directory
*** [err :: 11.15.19.46] find: `/var/www/emclab/releases/20111208184942/public/javascripts'
*** [err :: 11.15.19.46] : No such file or directory

有什么想法导致错误?谢谢。

最佳答案

我假设您已更新到Rails 3.1

我最近遇到同样的问题。解:

将此行添加到deploy.rb

set :normalize_asset_timestamps, false

实际上,这个问题是重复的: Capistrano and deployment of a website from Github

只发布它,因为在Google上找到它的机会很高,而这个没有得到答案

关于ruby-on-rails - Capistrano中没有部署此类文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8436480/

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