I am attempting to get this going: http://github.com/xaviershay/db2s3
I created a file in config/initializers/db2s3.rb
DB2S3::Config.instance_eval do
S3 = {
:access_key_id => 'id',
:secret_access_key => 'key',
:bucket => 'name'
}
end
In the rake file I added:
require 'db2s3/tasks'
But when I attempt to run the rake task to push it into s3 I get an error. rake db2s3:backup:full
...../config/initializers/db2s3.rb:13: syntax error, unexpected ':', expecting $end