Skip to content

Add BUNDLE_GEMFILE for non-rails workers - #24001

Merged
Fryguy merged 1 commit into
ManageIQ:masterfrom
agrare:non_rails_worker_add_bundler_gemfile_env_var
Oct 6, 2026
Merged

Fryguy merged 1 commit into
ManageIQ:masterfrom
agrare:non_rails_worker_add_bundler_gemfile_env_var

Conversation

@agrare

@agrare agrare commented Oct 6, 2026

Copy link
Copy Markdown
Member

Non-rails workers share the gemset but don't actually need to load all of the gems defined there.

By providing a BUNDLE_GEMFILE env var this allows the non-rails worker to require 'bundler/setup' and ensure that we are using the proper versions of the gems.

Non-rails workers share the gemset but don't actually need to load all
of the gems defined there.

By providing a `BUNDLE_GEMFILE` env var this allows the non-rails worker
to `require 'bundler/setup'` and ensure that we are using the proper
versions of the gems.
@Fryguy Fryguy self-assigned this Oct 6, 2026
@miq-bot

miq-bot commented Oct 6, 2026

Copy link
Copy Markdown
Member

Checked commit agrare@918dbe3 with ruby 3.3.12, rubocop 1.91.0, haml-lint 0.78.0, and yamllint 1.37.1
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@Fryguy
Fryguy merged commit 7023a67 into ManageIQ:master Oct 6, 2026
6 checks passed
@agrare
agrare deleted the non_rails_worker_add_bundler_gemfile_env_var branch October 6, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants