Skip to content

Use Gem.ruby_api_version for GEM_HOME#67

Merged
aramprice merged 1 commit into
mainfrom
update-runtime-env-generation
Jul 15, 2026
Merged

Use Gem.ruby_api_version for GEM_HOME#67
aramprice merged 1 commit into
mainfrom
update-runtime-env-generation

Conversation

@aramprice

Copy link
Copy Markdown
Member
  • do not add $GEM_HOME/bin to $PATH

- do not add $GEM_HOME/bin to $PATH

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI template used to generate src/compile-*.env so that bosh_generate_runtime_env sets GEM_HOME using Ruby’s API version (instead of the patch version) and avoids adding $GEM_HOME/bin to PATH, aligning the generated runtime environment with how Bundler lays out gems.

Changes:

  • Compute GEM_HOME using Gem.ruby_api_version rather than <ruby_patch_version>.
  • Stop appending $GEM_HOME/bin to PATH in the generated runtime.env.
  • Add quoting around exported environment values in the heredoc output.

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

Comment thread ci/templates/src/compile.env.erb
Comment thread ci/templates/src/compile.env.erb
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Jul 15, 2026
@aramprice aramprice merged commit f686ec1 into main Jul 15, 2026
3 checks passed
@aramprice aramprice deleted the update-runtime-env-generation branch July 15, 2026 18:37
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants