Hi,

Im looking to move my file storage to Amazon S3 europe and have
followed both these solutions here
http://thewebfellas.com/blog/2010/1/31/paperclip-vs-amazon-s3-european-buckets
using the aws-s3 gem and the qooba/s3 gem.  Everything looks fine up
to when i try to save the file.  Ive stepped through the code and i
can log in ok and access the bucket i need, but when i try and save
the file i get the following error message "AWS::S3::AccessDenied"

If i console in i get to the same point and it fails again in the save

service = S3::Service.new(:access_key_id =>
'XXXXXXXXXXXXXX', :secret_access_key => 'XXXXXXXXXXXXXXXXXXXXXX')
bucket = service.buckets.find("development")
object = bucket.objects.build("test")
object.content = open("README")
object.save => return "Access Denied" as per the application.

Ive tried both solutions in the link and get to the same point, anyone
got any ideas?  Ive exhausted everything i can think off and any
google searches and recommendations.

JB



-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to