Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Nov 21, 2025

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

This used to run Homebrew.install_bundler! which would run Homebrew.setup_gem_environment! and modify the environment variables. Restore this behavior to find bundler

This used to run `Homebrew.install_bundler!` which would run
`Homebrew.setup_gem_environment!` and modify the environment variables.
Restore this behavior to find `bundler`
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR restores the Homebrew.setup_gem_environment! call in the vendor-gems dev command that was inadvertently removed. This setup is essential for the command to function correctly, as it configures environment variables (GEM_HOME, GEM_PATH, and PATH) needed to locate and execute the bundle executable.

Key Changes

  • Adds Homebrew.setup_gem_environment! call at the beginning of the run method in VendorGems command

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Worth a try, thanks @cho-m!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Nov 21, 2025
Merged via the queue into main with commit a7e27a2 Nov 21, 2025
58 of 62 checks passed
@MikeMcQuaid MikeMcQuaid deleted the vendor-gems-restore-gem-environment branch November 21, 2025 16:29
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.

3 participants