Skip to content
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

Cannot install the actiontext gem with Rails 7.1 and Ruby 3.1/3.2 on the Ubuntu 22.04 runner #602

Closed
2 tasks done
oliverklee opened this issue May 24, 2024 · 2 comments
Closed
2 tasks done

Comments

@oliverklee
Copy link

Ensure the following before filing this issue

  • I verified it reproduces with the latest version with - uses: ruby/setup-ruby@v1 (see Versioning policy)

  • I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for Downloading Ruby & Extracting Ruby),
    and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)

Are you running on a GitHub-hosted runner or a self-hosted runner?

GitHub-hosted runner

Link to the failed workflow job (must be a public workflow job, so the necessary information is available)

https://github.com/lwe/page_title_helper/actions/runs/9157727571/job/25246440277?pr=186

Any other notes?

  • This problem only occurs on the new Ubuntu 24.04 runners, not with the Ubuntu 22.04 runners.
  • This problem only occurs on Ruby 3.1.5 and 3.2.4, not on Ruby 3.3.1.
  • This problem only occurs with Rails 7.1, not with Rails 6.1 or 7.0.
@dentarg
Copy link

dentarg commented May 24, 2024

Looks like the issue is that psych can't be installed because there's no libyaml: https://github.com/lwe/page_title_helper/actions/runs/9157727571/job/25246440277?pr=186#step:6:155

It all checks out, https://github.com/actions/runner-images/blob/36549632cea38ed6a673524db463e2a030ccf247/images/ubuntu/Ubuntu2204-Readme.md has libyaml-dev but https://github.com/actions/runner-images/blob/36549632cea38ed6a673524db463e2a030ccf247/images/ubuntu/Ubuntu2404-Readme.md has no mention of libyaml.

And now I see that @eregon has already opened an issue about that 😄 actions/runner-images#9895

@eregon
Copy link
Member

eregon commented May 24, 2024

Yep, and in any case errors during bundle install are never a bug in setup-ruby.

@eregon eregon closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants