Earlier my files were uploading in the storage folder. But now I want to upload images on the s3 bucket. how can I migrate my existing local data on the s3 bucket?
I found the script here https://www.stefanwienert.de/blog/2018/11/05/active-storage-migrate-between-providers-from-local-to-amazon/ But getting an error of
NoMethodError (private method `open' called for Active Storage
So what should I do for migrating my local data to the s3 bucket?
Is there in a simpler way?