Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

setup-ruby failing consistently on macOS #67

Open
ydnar opened this issue Apr 16, 2020 · 3 comments
Open

setup-ruby failing consistently on macOS #67

ydnar opened this issue Apr 16, 2020 · 3 comments

Comments

@ydnar
Copy link

ydnar commented Apr 16, 2020

Run actions/setup-ruby@v1
11
sudo ln -sf /Users/runner/hostedtoolcache/Ruby/2.7.0/x64/bin/ruby /usr/bin/ruby
12
ln: /usr/bin/ruby: Operation not permitted
13
(node:1108) UnhandledPromiseRejectionWarning: Error: The process 'sudo' failed with exit code 1
14
    at ExecState._setResult (/Users/runner/runners/2.169.0/work/_actions/actions/setup-ruby/v1/node_modules/@actions/exec/lib/toolrunner.js:547:25)
15
    at ExecState.CheckComplete (/Users/runner/runners/2.169.0/work/_actions/actions/setup-ruby/v1/node_modules/@actions/exec/lib/toolrunner.js:530:18)
16
    at ChildProcess.<anonymous> (/Users/runner/runners/2.169.0/work/_actions/actions/setup-ruby/v1/node_modules/@actions/exec/lib/toolrunner.js:430:27)
17
    at ChildProcess.emit (events.js:210:5)
18
    at maybeClose (internal/child_process.js:1021:16)
19
    at Socket.<anonymous> (internal/child_process.js:430:11)
20
    at Socket.emit (events.js:210:5)
21
    at Pipe.<anonymous> (net.js:659:12)
22
(node:1108) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
23
(node:1108) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@ydnar ydnar changed the title setup-ruby failing consistently on Ubuntu setup-ruby failing consistently on macOS Apr 16, 2020
@eregon
Copy link
Contributor

eregon commented Apr 16, 2020

Same as #63

This action needs to update v1 be the latest release v1.1.1.

@ydnar
Copy link
Author

ydnar commented Apr 16, 2020

Is v1.1.1 pre-release or stable? The README still referencessetup-ruby@v1.

@eregon
Copy link
Contributor

eregon commented Apr 16, 2020

Until this is solved I can recommend https://github.com/ruby/setup-ruby

awendt added a commit to awendt/familienradwege-website that referenced this issue Jun 8, 2020
actions/setup-ruby is broken, it errors with:

- Version 2.6 not found
- Version 2.7 not found

These issues are not very reassuring:

- actions/setup-ruby#65
- actions/setup-ruby#67
- actions/setup-ruby#63 (comment)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants