rumblelabs/asset_sync — Issue #15: Aws access key can't be blank, Aws access secret can't be blank, Aws bucket can't be blank 
Author: kaluznyo
Created: 2011-10-28 08:54:25+00:00
State: open

Hi

I follow the readme (Hardcode S3 credential)

When I launch assets:precompile I get : Aws access key can't be blank, Aws access secret can't be blank, Aws bucket can't be blank

But my credential is OK

defaults: &defaults
aws_access_key: 'KEY'
aws_access_secret: 'SECRET'
aws_region: 'eu-west-1'
existing_remote_files: keep
production:
<<: *defaults
aws_bucket: "bucket"

I try to "fixe" and this work when I change the asset_sync.rb in config : @config ||= Config.new to @config = Config.new

Seems the config is call 2 times, and the first it initialize aws_access_key with nil