ruby-orb icon indicating copy to clipboard operation
ruby-orb copied to clipboard

rvm failing to install gpg keys on m1 machine

Open brainbicycle opened this issue 1 year ago • 2 comments

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

brainbicycle avatar Sep 14 '23 20:09 brainbicycle

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

jasperjorna avatar Mar 13 '24 16:03 jasperjorna

Bump.

This PR would fix this issue, btw: https://github.com/CircleCI-Public/ruby-orb/pull/139

quipo avatar May 08 '24 09:05 quipo

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.

marboledacci avatar Aug 09 '24 16:08 marboledacci

thank you!

brainbicycle avatar Aug 15 '24 20:08 brainbicycle