# File lib/dragonfly/data_storage/s3data_store.rb, line 95 def bucket_exists? rescuing_socket_errors{ storage.get_bucket_location(bucket_name) } true rescue Excon::Errors::NotFound => e false end