tractical/cloudify — Issue #21: Can't sync files.
Author: amedse
Created: 2011-12-15 03:32:55+00:00
State: open

Got this error after execute rake cloudify:sync

````
Deleting remote files that no longer exist locally
D images/bg_header.gif
D images/header_bg.png
Done
Invalidating paths: /images/logo_participame.png, /javascripts/application.js, /javascripts/requests.js, /javascripts/services.js, /stylesheets/application.css
rake aborted!
Expected(201) <=> Actual(404 Not Found)
request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"text/xml", "Date"=>"Thu, 15 Dec 2011 03:28:35 +0000", "Authorization"=>"AWS AKIAIEMF5CUXXKGUEDKQ:pg2puj4UKuAF4yUy9OeCt7EhHjk=", "Host"=>"cloudfront.amazonaws.com:443", "Content-Length"=>318}, :host=>"cloudfront.amazonaws.com", :mock=>nil, :path=>"/2010-11-01//distribution/d31snvqmwk4fxu/invalidation", :port=>"443", :query=>nil, :read_timeout=>60, :scheme=>"https", :write_timeout=>60, :body=>"/images/logo_participame.png/javascripts/application.js/javascripts/requests.js/javascripts/services.js/stylesheets/application.css1323919715", :expects=>201, :idempotent=>true, :method=>"POST"}
response => #\nSenderNoSuchDistributionThe specified distribution does not exist.dff7d37a-26cc-11e1-b3ba-f196b6d09f9a", @headers={"x-amzn-RequestId"=>"dff7d37a-26cc-11e1-b3ba-f196b6d09f9a", "Content-Type"=>"text/xml", "Content-Length"=>"294", "Date"=>"Thu, 15 Dec 2011 03:28:36 GMT"}, @status=404>
````