lib/attached/storage/aws.rb in attached-0.1.5 vs lib/attached/storage/aws.rb in attached-0.1.6

- old
+ new

@@ -1,7 +1,11 @@ require 'attached/storage/base' -require 'aws/s3' +begin + require 'aws/s3' +rescue LoadError + raise "Installation of 'aws/s3' is required before using 'aws' for storage" +end module Attached module Storage class AWS < Base \ No newline at end of file