tags:

views:

43

answers:

0

I’ve used Uploadify and paperclip in Rails3 and I’m getting this error -

AWS::S3::NoSuchBucket (The specified bucket does not exist):

app/controllers/cards_controller.rb:79:in `create'

app/controllers/cards_controller.rb:78:in `create'

app/middleware/flash_session_cookie_middleware.rb:16:in `call'

My s3.yml file is

————————————————–

development: bucket: bucket-dev access_key_id: ### secret_access_key: ### test: bucket: bucket-test access_key_id: ### secret_access_key: ### production: bucket: bucket-pro access_key_id:### secret_access_key: ###

————————————————–

and the model has -

————————————————–

has_attached_file :photo,

:storage => :s3,

:s3_credentials => “#{::Rails.root.to_s}/config/s3.yml”,

:path => “/:style/:filename”,

:styles => {:medium => “300×300>”,:thumb => “100×100>”}

————————————————–