Skip to content

aws-sdk-s3 1.214.0 autoloads aws-sdk-s3/directory_progress but file is missing #3359

@marckohlbrugge

Description

@marckohlbrugge

Describe the bug

In aws-sdk-s3 1.214.0, requiring the gem raises:

LoadError: cannot load such file -- aws-sdk-s3/directory_progress

lib/aws-sdk-s3/customizations.rb includes:

autoload :DirectoryProgress, 'aws-sdk-s3/directory_progress'

but lib/aws-sdk-s3/directory_progress.rb is not present in the packaged gem.

This also breaks Rails production boot when using aws-sdk-rails eager loading.

Reproduction

ruby -v
# ruby 3.4.8

gem install aws-sdk-s3 -v 1.214.0
ruby -e 'gem "aws-sdk-s3", "1.214.0"; require "aws-sdk-s3"'

Output:

cannot load such file -- aws-sdk-s3/directory_progress (LoadError)

Additional context

  • Downgrading to aws-sdk-s3 1.213.0 resolves the issue.
  • In 1.213.0, customizations.rb does not reference DirectoryProgress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions