thoughtbot/paperclip — Issue #677: fog documentation says bucket is created automatically but it's not
Author: betelgeuse
Created: 2011-12-13 19:41:42+00:00
State: open

https://github.com/thoughtbot/paperclip/blob/master/lib/paperclip/storage/fog.rb

```
# * +fog_directory+: This is the name of the S3 bucket that will
# store your files. Remember that the bucket must be unique across
# all of Amazon S3. If the bucket does not exist, Paperclip will
# attempt to create it.
```

But I get

```
NoSuchBucketThe specified bucket does not exist
```

from:

```
excon (0.7.12) lib/excon/connection.rb:197:in `request'
fog (1.1.1) lib/fog/core/connection.rb:20:in `request'
fog (1.1.1) lib/fog/aws/storage.rb:375:in `request'
fog (1.1.1) lib/fog/aws/requests/storage/get_object_acl.rb:55:in `get_object_acl'
fog (1.1.1) lib/fog/aws/models/storage/file.rb:93:in `public_url'
paperclip (2.4.5) lib/paperclip/storage/fog.rb:129:in `public_url'
paperclip (2.4.5) lib/paperclip/storage/fog.rb:49:in `fog_public_url'
paperclip (2.4.5) lib/paperclip/interpolations.rb:34:in `send'
paperclip (2.4.5) lib/paperclip/interpolations.rb:34:in `interpolate'
paperclip (2.4.5) lib/paperclip/interpolations.rb:33:in `gsub'
paperclip (2.4.5) lib/paperclip/interpolations.rb:33:in `interpolate'
paperclip (2.4.5) lib/paperclip/interpolations.rb:32:in `each'
paperclip (2.4.5) lib/paperclip/interpolations.rb:32:in `inject'
paperclip (2.4.5) lib/paperclip/interpolations.rb:32:in `interpolate'
paperclip (2.4.5) lib/paperclip/attachment.rb:439:in `interpolate'
paperclip (2.4.5) lib/paperclip/attachment.rb:135:in `url'
```