Paperclip Amazon S3 Europe

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs