-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
v1.50.0 Fails gem install (can't find the ruby) #104
Comments
Sorry after reading #98 we've worked out that this is because of RUNNER_TOOL_CACHE is not present on our self hosted runners. |
By chance, how about AGENT_TOOLSDIRECTORY? It has the same value on the GH Ubuntu runners... |
The action actually checks that the env var is defined: Lines 67 to 70 in 0592d01
Maybe it is set incorrectly in your case, or not set? |
Maybe we should hardcode the path for the 3 platforms? |
Just want to share some info, I need do the following in order to make the latest setup-ruby(v1.50.0) works in our self-hosted runners.
|
After some thoughts, I don't want to deal with RUNNER_TOOL_CACHE not being the same as on GitHub-hosted runners, as it brings a lot of complications. I documented these requirements in 8e77d9e, feel free to improve the docs with a PR. |
I changed my mind, and hardcoded the paths in ba761ba and update the requirements in the README. |
The most recent release seems to have broken the install of ruby.
The setup ruby action is failing with
When I try running that command again on the runners I see this error:
So it looks like the recent change to related to hostedtoolcache is affecting the paths to ruby, but I don't know if we're supposed to be doing something different.
The text was updated successfully, but these errors were encountered: