Skip to content

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

Description

@skull-squadron

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UntriagedAn issue that has yet to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions