Fog deprecation warnings when starting Rails server
Workaround solution: Stick these 2 lines above Bundler.require in your config/application.rb
...
require 'fog/core'
Fog::Logger[:deprecation] = nil
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
...
From my understanding, you're using the whole fog
library. Is there a specific reason why you're the full library, say, fog-aws
? IMO there's very little benefit to using the full fog
library unless you have some kind of higher level app/library that interacts with all the providers that fog
offers. So I'd suggest to just require the library/libraries you need and leave the rest. This could potentially get rid of the deprecation warnings.