Believe it or not, I ran into the same error.
Only to find out hour later, that the issue was in my storage.yaml
file
There was an error in the logs
Psych::SyntaxError - (<unknown>): did not find expected key while parsing a block mapping at line 1 column 1:
which meant that Psych
which is a YAML
parser was having an issue with parsing the file.
It was throwing the Unable to autoload constant ActiveStorage::Blob::Analyzable
Error because of a Spacing issue
Hope this helps anyone out there
EXAMPLE BEFORE
| amazon:
service: S3
access_key_id: <%= Rails.application.credentials.aws[:access_key_id] %>
secret_access_key: <%= Rails.application.credentials.aws[:secret_access_key] %>
region: <%= Rails.application.credentials.aws[:region] %>
bucket: <%= Rails.application.credentials.aws[:bucket] %>
EXAMPLE AFTER
|amazon:
service: S3
access_key_id: <%= Rails.application.credentials.aws[:access_key_id] %>
secret_access_key: <%= Rails.application.credentials.aws[:secret_access_key] %>
region: <%= Rails.application.credentials.aws[:region] %>
bucket: <%= Rails.application.credentials.aws[:bucket] %>