lib/paperclip/storage/azure.rb in paperclip-azure-0.2.5 vs lib/paperclip/storage/azure.rb in paperclip-azure-0.2.6

- old
+ new

@@ -1,7 +1,5 @@ -require 'azure/core/http/retry_policy' - module Paperclip module Storage # Azure's container file hosting service is a scalable, easy place to store files for # distribution. You can find out more about it at http://azure.microsoft.com/en-us/services/storage/ # @@ -54,9 +52,10 @@ module Azure def self.extended base begin require 'azure' + require 'azure/core/http/retry_policy' rescue LoadError => e e.message << " (You may need to install the azure SDK gem)" raise e end unless defined?(::Azure::Core)