Skip to content

Bootboot doesn't work well with new Bundler versions (>= 2.5.10) #69

Description

@joelim41

When using bundler >= v2.5.10, running bundle update will not update the next lockfile and running --conservative will generate more changes than necessary.

Activity

  1. tjvc commented on May 26, 2026

    @tjvc

    Just adding a note on the root cause here:

    Bootboot reads Bundler::Definition's @unlock hash via instance_variable_get and uses it to keep Gemfile_next.lock in sync. In Bundler 2.5.10, the :gems and :sources keys get delete'd out of @unlock during Definition#initialize (moved into separate ivars), so by the time Bootboot reads it it no longer contains the list of updated gems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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