Add the following gems to your Gemfile
:
gem 'activeresource'
gem 'newrelic_api'
Update your bundle:
require 'fog' | |
bucket = 'bucket-name' | |
credentials = { | |
:provider => 'AWS', | |
:aws_access_key_id => 'access_key_id', | |
:aws_secret_access_key => 'secret_key', | |
} | |
fog = Fog::Storage.new(credentials) |