Skip to content

Installing from the cache skips files a gem's build generates besides compiled libraries #36

Open

Description

@Thejus-Paul

Related to #33.

When a gem's build produces files other than compiled libraries, such as generated Ruby files, executables or data files, installing it from the cache brings back only the compiled libraries. If such a gem also has a compiled library, the install reports success and the gem fails later when it looks for a file that was never restored. No cached gem fails this way today, but sass-embedded, whose build produces an executable and no library, downloads its cached copy on every install and then builds locally anyway.

A gem installed from the cache should contain every file that building it locally would produce.

Activity

  1. self-assigned this
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions