{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/rails/issues/33","labels_url":"https://api.github.com/repos/capistrano/rails/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/rails/issues/33/comments","events_url":"https://api.github.com/repos/capistrano/rails/issues/33/events","html_url":"https://github.com/capistrano/rails/issues/33","id":22757490,"number":33,"title":"Error on asset_manifest_backup","user":{"login":"aaronshiphawk","id":5950526,"avatar_url":"https://avatars.githubusercontent.com/u/5950526?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronshiphawk","html_url":"https://github.com/aaronshiphawk","followers_url":"https://api.github.com/users/aaronshiphawk/followers","following_url":"https://api.github.com/users/aaronshiphawk/following{/other_user}","gists_url":"https://api.github.com/users/aaronshiphawk/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronshiphawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronshiphawk/subscriptions","organizations_url":"https://api.github.com/users/aaronshiphawk/orgs","repos_url":"https://api.github.com/users/aaronshiphawk/repos","events_url":"https://api.github.com/users/aaronshiphawk/events{/privacy}","received_events_url":"https://api.github.com/users/aaronshiphawk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2013-11-15T20:40:03Z","updated_at":"2015-04-14T06:49:50Z","closed_at":"2015-03-12T22:22:40Z","body":"Commit bfd01c9 removed the .json suffix from the assets_manifest_backup. This produces an error when deploying on my Ubuntu environment. Suggest changing assets_manifest_backup to assets_manifest.backup\r\n\r\nDEBUG [7813d7de] Command: cd /home/deployer/discourse-production/releases/20131115183147 && ( RAILS_ENV=production cp /home/deployer/discourse-production/releases/20131115183147/public/assets/manifest* /home/deployer/discourse-production/releases/20131115183147/assets_manifest_backup )\r\nDEBUG [7813d7de]    cp: \r\nDEBUG [7813d7de]    target `/home/deployer/discourse-production/releases/20131115183147/assets_manifest_backup' is not a directory"},"comment":{"url":"https://api.github.com/repos/capistrano/rails/issues/comments/92654585","html_url":"https://github.com/capistrano/rails/issues/33#issuecomment-92654585","issue_url":"https://api.github.com/repos/capistrano/rails/issues/33","id":92654585,"user":{"login":"faucct","id":5202503,"avatar_url":"https://avatars.githubusercontent.com/u/5202503?v=3","gravatar_id":"","url":"https://api.github.com/users/faucct","html_url":"https://github.com/faucct","followers_url":"https://api.github.com/users/faucct/followers","following_url":"https://api.github.com/users/faucct/following{/other_user}","gists_url":"https://api.github.com/users/faucct/gists{/gist_id}","starred_url":"https://api.github.com/users/faucct/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faucct/subscriptions","organizations_url":"https://api.github.com/users/faucct/orgs","repos_url":"https://api.github.com/users/faucct/repos","events_url":"https://api.github.com/users/faucct/events{/privacy}","received_events_url":"https://api.github.com/users/faucct/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T06:49:50Z","updated_at":"2015-04-14T06:49:50Z","body":"Doubling that. Adding the thing to the deploy.rb is a quick fix for that.\r\n````\r\nRake::Task['deploy:assets:backup_manifest'].clear_actions\r\nnamespace :deploy do\r\n  namespace :assets do\r\n    task :backup_manifest do\r\n      on roles(fetch(:assets_roles)) do\r\n        within release_path do\r\n          execute :cp,\r\n                  release_path.join('public', fetch(:assets_prefix), '.sprockets-manifest*'),\r\n                  release_path.join('assets_manifest_backup')\r\n        end\r\n      end\r\n    end\r\n  end\r\nend\r\n````"}}