Error loading rails refinerycms s3

I am trying to configure RefineryCMS to use Fog to load S3. Here is the error I get:

ArgumentError in Refinery::Admin::ImagesController#create
The following keys are invalid: :url

My configuration in config / initializers / refinery / core.rb:

config.s3_bucket_name = '(mybucket)'
config.s3_access_key_id = '(mykey)'
config.s3_secret_access_key = '(mysecret)'
config.s3_backend = true

Any ideas?

+5
source share
2 answers

I just ran into the same problem, albeit in a different setup (dragonfly with S3 datastore). That seems to be the fogproblem.

Try using an older version fog. I updated mine Gemfileto use an older version fog.

gem 'fog', '1.4.0'

and then run

bundle install

I tried each version from 1.9.0 to 1.4.0, and 1.4.0 was the first version in which my downloads worked again. I am updating my post if I find a way to make this work with 1.9.0

+5

. .

module Excon
 class Connection
   VALID_CONNECTION_KEYS << :url
 end 
end
+1

All Articles