If GlobalSetting.use_s3? returns false, it means that S3 is not setup properly.
GlobalSetting.use_s3?
false