hooktstudios/capistrano-s3 — pull request #14 by barvaz (2013-04-18 11:27:05+00:00)
Title: support non-standard file extensions

issue jquery.min.map has a non-standard extension.

when a mime-type is not available the `MIME::Types.type_for(file)` returns an empty array the causes `type.first.content_type` to raise `undefined method `content_type' for nil:NilClass (NoMethodError)` exception
further control `!type.empty?` resolves the issue

You can say that I should use a public cdn for the jQuery library but it's only an example for a non-standard file extension