Skip to content

A platform for community discussion. Free, open, simple.

FIX: The migrate_to_s3 rake task couldn't find the AWS SDK

Gerhard Schlager5bffb033dfcd
diff --git a/lib/file_store/to_s3_migration.rb b/lib/file_store/to_s3_migration.rb
index 456e428657d..01c69dc1ee9 100644
--- a/lib/file_store/to_s3_migration.rb
+++ b/lib/file_store/to_s3_migration.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require 'aws-sdk-s3'
+
module FileStore
ToS3MigrationError = Class.new(RuntimeError)