Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Original build machine build dependencies leaking into embedded ruby prevent chef_gem from completing #3101

Open
skull-squadron opened this issue Apr 16, 2023 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@skull-squadron
Copy link

Description

$ (cd /opt/chef-workstation/embedded/lib/ruby && rg -g '*.rb' -g '!ffi' /opt/homebrew)
3.1.0/arm64-darwin20/rbconfig.rb:  CONFIG["INSTALL"] = '/opt/homebrew/bin/ginstall -c' <-- none of these exist
3.1.0/arm64-darwin20/rbconfig.rb:  CONFIG["MAKEDIRS"] = "/opt/homebrew/bin/gmkdir -p"
3.1.0/arm64-darwin20/rbconfig.rb:  CONFIG["MKDIR_P"] = "/opt/homebrew/bin/gmkdir -p"

From another Ruby on the same system

# ruby/3.2.2/lib/ruby/3.2.0/arm64-darwin22/rbconfig.rb
  CONFIG["INSTALL"] = '/usr/bin/install -c'
...
  CONFIG["MKDIR_P"] = "mkdir -p"
...
  CONFIG["MAKEDIRS"] = "mkdir -p"

Chef Workstation Version

23.4.1032 stable (latest for current also)

Platform Version

macOS 13.3.1 arm64

@skull-squadron skull-squadron added the Status: Untriaged An issue that has yet to be triaged. label Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant