Skip to content

Conversation

@sambostock
Copy link
Contributor

Rather than have multiple different gemfiles, we can express the logic in a single file that deals with the Rails gems requirements. This would simplify working with gemfiles which actually introduce new gems, as it would reduce the number of files to maintain.

The original motivation for this was introducing a gemfile which added gem "rails". That may not be required after all, so this was extracted into its own PR.

Along the way, some tweaks are made to the RuboCop config.

Rather than have a gemfile per Ruby version, we can read it in from an
environment variable, since it's the only thing that's changing.
@sambostock sambostock requested a review from Mangara February 2, 2024 05:47
Copy link
Contributor

@Mangara Mangara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice clean-up!

@sambostock sambostock merged commit 7f84db3 into main Feb 2, 2024
@sambostock sambostock deleted the refactor-ci-gemfiles branch February 2, 2024 13:59
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