Luca G. Soave
Luca G. Soave

Reputation: 12689

Heroku + Refinery + S3 : get "Unknown region" error

Following

How to Install Refinery on Heroku

I get ArgumentError (Unknown region: "EU_Ireland")

UPDATE: I'm actually using fog (not aws-s3) as required in last version:

lsoave@ubuntu:~/rails/heroku/ennefoto$ egrep "fog|aws" Gemfile
# gem 'aws-s3', :require => 'aws/s3'
gem 'fog'
lsoave@ubuntu:~/rails/heroku/ennefoto$ egrep "fog|aws" Gemfile.lock
    fog (0.8.2)
  fog
lsoave@ubuntu:~/rails/heroku/ennefoto$ 

... anyway using a standard BUCKET (US) it works. That seems the same problem happened with 'aws/s3' ...

Any idea ?

Does anybody know what's the region syntax is like ? I tryed EU_Ireland, Ireland, eu-ireland ... but that's the same error.

Upvotes: 4

Views: 2218

Answers (1)

iwasrobbed
iwasrobbed

Reputation: 46703

We use syntax like this for the region using Fog: us-east-1... For Ireland, it is eu-west-1

By the way, here is a full listing: http://aws.amazon.com/articles/3912#s3

Upvotes: 5

Related Questions