This repository has been archived by the owner on Feb 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
UnhandledPromiseRejectionWarning on macOS #18
Labels
bug
Something isn't working
Comments
I am having this same problem, is there a work around? |
eregon
added a commit
to eregon/actions-setup-ruby
that referenced
this issue
Sep 21, 2019
* Fixes actions#18 * The symlink never worked on macOS, and there was a missing `await`. * No tool should hardcode `/usr/bin/ruby`, but instead executables should use `#!/usr/bin/env ruby`. * If a specific tool needs the symlink, then it can of course be added as part of the steps of that CI.
PR to fix this in #29 |
Thank you @eregon |
dentuzhik
pushed a commit
to bolteu/setup-ruby
that referenced
this issue
Dec 10, 2019
* Fixes actions#18 * The symlink never worked on macOS, and there was a missing `await`. * No tool should hardcode `/usr/bin/ruby`, but instead executables should use `#!/usr/bin/env ruby`. * If a specific tool needs the symlink, then it can of course be added as part of the steps of that CI.
Closed
This is still not in In any case, probably best to use https://github.com/ruby/setup-ruby which is more actively maintained. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/ruby/spec/pull/683/checks?check_run_id=202172164
It seems the
ln -sf
fails on macOS. The build still works nevertheless.Actually, what tool requires
/usr/bin/ruby
to be the same asruby
inPATH
?AFAIK other CIs and all 3 major Ruby managers do not touch
/usr/bin/ruby
.I saw
setup-ruby/src/installer.ts
Lines 18 to 20 in 623660d
but in my experience there is no such problem with RubyGems (as long as
gem
is on PATH too alongsideruby
, but that should always be the case).I think if such a workaround is needed, it should be done only in those needed cases, not by
setup-ruby
, what do you think?The text was updated successfully, but these errors were encountered: