ruby-orb
ruby-orb copied to clipboard
rvm failing to install gpg keys on m1 machine
Orb version:
2.1.0
What happened:
I updated the machines in our circle ci jobs from macos.x86.medium.gen2
to macos.m1.medium.gen1
and the ruby install started failing with this error:
/bin/bash: line 8: gpg: command not found
Network error: Unable to receive GPG keys. Will attempt again (1/3)
/bin/bash: line 8: gpg: command not found
Network error: Unable to receive GPG keys. Will attempt again (2/3)
/bin/bash: line 8: gpg: command not found
Unable to receive GPG keys, FAILING
Exited with code exit status 1
https://app.circleci.com/pipelines/github/artsy/eigen/45590/workflows/1f1aa704-fbdc-4ca2-b88e-ed9bb02764f0/jobs/154278
Expected behavior:
Ruby version should install as before.
Additional Information:
There was a previous issue with some other reports of the issue but it was closed: https://github.com/CircleCI-Public/ruby-orb/issues/39
Can confirm, getting the same error as mentioned above.
Using:
macos:
xcode: '15.2.0'
resource_class: macos.m1.medium.gen1
/bin/bash: line 8: gpg: command not found
Network error: Unable to receive GPG keys. Will attempt again (1/3)
/bin/bash: line 8: gpg: command not found
Network error: Unable to receive GPG keys. Will attempt again (2/3)
/bin/bash: line 8: gpg: command not found
Unable to receive GPG keys, FAILING
Exited with code exit status 1
Bump.
This PR would fix this issue, btw: https://github.com/CircleCI-Public/ruby-orb/pull/139
This issue should be fixed already on this version https://circleci.com/developer/orbs/orb/circleci/ruby?version=2.1.4 which contains the changes @quipo added.
thank you!