capistrano-cookbook icon indicating copy to clipboard operation
capistrano-cookbook copied to clipboard

Task: deploy:complie_assets_locally FAILING

Open nitinstp23 opened this issue 9 years ago • 1 comments

Here - https://github.com/TalkingQuickly/capistrano-cookbook/blob/master/lib/capistrano/cookbook/tasks/compile_assets_locally.cap#L9

I am getting this error -

DEBUG [6fdf9537] Command: RAILS_ENV=production bundle exec rake assets:precompile INFO [6fdf9537] Finished in 1.987 seconds with exit status 0 (successful). INFO [eb41690b] Running /usr/bin/env rsync -av ./public/assets/ [email protected]:/home/dev/apps/mobmerry_production/releases/20150428191605/public/assets/; as nitin@localhost DEBUG [eb41690b] Command: rsync -av ./public/assets/ [email protected]:/home/dev/apps/mobmerry_production/releases/20150428191605/public/assets/; DEBUG [eb41690b] sending incremental file list DEBUG [eb41690b] rsync: mkdir "/home/dev/apps/mobmerry_production/releases/20150428191605/public/assets" failed: No such file or directory (2) DEBUG [eb41690b] rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.0] (Backtrace restricted to imported tasks)

nitinstp23 avatar Apr 28 '15 19:04 nitinstp23

I'm having a look at re-working this task completely, so will revert once I've got something more stable. I'm also doing some benchmarking on whether the task is worth the extra complexity now that base VPS's are a fair bit more powerful and asset compilation more efficient than when I original wrote the task.

TalkingQuickly avatar Apr 02 '21 07:04 TalkingQuickly