Closed kalashnikovisme closed 2 years ago
Hi, everyone!
Have this issue on starting rails server
config/initializers/carrierwave.rb
CarrierWave.configure do |config| config.asset_host = 'https://my-assets.ams3.digitaloceanspaces.com' config.fog_credentials = { provider: 'AWS', aws_access_key_id: ENV['DIGITAL_OCEAN_ACCESS_KEY'], aws_secret_access_key: ENV['DIGITAL_OCEAN_SECRET_KEY'], region: 'ams3', endpoint: 'https://ams3.digitaloceanspaces.com' } config.fog_directory = 'my-directory' config.fog_attributes = { 'Cache-Control' => 'max-age=315576000' } end
The issue disappears after removing fog-digitalocean gem.
fog-digitalocean
gem 'fog', '0.7.2' gem 'fog-digitalocean', '0.4.0'
Problem was solved by updating fog gem version..
Hi, everyone!
Have this issue on starting rails server
config/initializers/carrierwave.rb
The issue disappears after removing
fog-digitalocean
gem.gem 'fog', '0.7.2' gem 'fog-digitalocean', '0.4.0'