Skip to content

Conversation

@bshand
Copy link
Contributor

@bshand bshand commented Sep 23, 2025

Deletes shared bundle files that no longer match any installed releases. For example, if the currently installed releases are all ruby 3.2 and 3.3., this will remove any installed ruby 3.1 gems.

For deployments with long-lived application servers, this limits the space growth of application deployments. There isn't anything yet to remove installed .rbenv versions: this is harder, because multiple deployments can share the same user account – possibly inside nested directories.

Capistrano: deploy:preinstall should fix up installed gem permissions. (Before this fix, deploy:preinstall would abort before fixing up gem permissions.)

Support Ruby 3.4.

@bshand bshand merged commit d8963cc into main Sep 25, 2025
17 checks passed
@bshand bshand deleted the feature/bundle_cleanup branch September 25, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants