Alex Rivera | Logout

No such file or directory in capistrano deploy

Asked 2011-12-08T19:25:45.850
21

Here is the error when doing cap deploy:

*** [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

Any thoughts what causes the error? thanks.

Edit
Report

1 Answer

35

I assume you updated to rails 3.1

I run in same problem recently. Solution:

Add this line to deploy.rb

set :normalize_asset_timestamps, false

In fact this question is duplication of: Capistrano and deployment of a website from Github

only post it because found it on google quite high and this one has not got answer

answered 2012-01-05T13:16:12.687

Your Answer