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

pdk on arm64 breaks with wrong CPU type in ruby #407

Open
jmhodges opened this issue Jun 27, 2024 · 0 comments
Open

pdk on arm64 breaks with wrong CPU type in ruby #407

jmhodges opened this issue Jun 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jmhodges
Copy link

Describe the Bug

pdk installs the wrong CPU architecture on a M1 arm64 macOS machine that causes it to never run successfully.

Expected Behavior

Expected pdk to run correctly. This also occurs when trying to use pdk with the vscode puppet extension.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Install pdk on an M1 macOS 14.5 machine with brew install --cask puppetlabs/puppet/pdk
  2. Open a new terminal and run pdk test unit:
$  pdk test unit
env: /opt/puppetlabs/pdk/private/ruby/3.2.3/bin/pdk: Bad CPU type in executable
$ echo $?
126

Environment

  • Version: 3.2.0.1
  • Platform: M1 macOS 14.5
@jmhodges jmhodges added the bug Something isn't working label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant