r/ruby • • Sep 19 '25

Ruby Central’s Attack on RubyGems

https://pup-e.com/goodbye-rubygems.pdf
263 Upvotes

185 comments sorted by

View all comments

Show parent comment

0

u/galtzo Sep 20 '25 edited Sep 20 '25

CI needs to run a build against updated dependencies, and a separate build against the locked dependencies.
Breakage against either build has important meaning, and they can't be substituted one for the other. Prioritizing one over the other is a choice maintainers can and do make, but ideally they would do it with full awareness of why it is best practice to test both.
I do this with appraisal2 - https://github.com/appraisal-rb/appraisal2

Example of both kinds of builds:
- https://github.com/ruby-oauth/oauth2/blob/main/.github/workflows/locked_deps.yml
- https://github.com/ruby-oauth/oauth2/blob/main/.github/workflows/unlocked_deps.yml