Skip to content

Move Faker gem from all environments to test#11757

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/move-faker-to-test
Jan 16, 2025
Merged

Move Faker gem from all environments to test#11757
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/move-faker-to-test

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

We moved faker outside of the test group in #7698, and removed the non-test usage in #9154. This PR moves it back to the test group so we aren't unnecessarily installing it in non-test environments.

changelog: Internal, Maintenance, Move Faker gem from all environments to test
@mitchellhenke mitchellhenke merged commit 2855162 into main Jan 16, 2025
@mitchellhenke mitchellhenke deleted the mitchellhenke/move-faker-to-test branch January 16, 2025 14:19
zachmargolis added a commit that referenced this pull request Jan 23, 2025
- Mailer previews occasionally load in production environments (sandbox)
  but in #11757, we moved the Faker gem to the test group (which breaks
  these previews in sandbox)
- Removing the usage of Faker in the previews helps keep the previews
  working, and keeps the production dependencies smaller

changelog: Internal, Source code, Remove gem dependency from mailer previews
zachmargolis added a commit that referenced this pull request Jan 23, 2025
- Mailer previews occasionally load in production environments (sandbox)
  but in #11757, we moved the Faker gem to the test group (which breaks
  these previews in sandbox)
- Removing the usage of Faker in the previews helps keep the previews
  working, and keeps the production dependencies smaller

changelog: Internal, Source code, Remove gem dependency from mailer previews
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