Closed rgaufman closed 1 month ago
Clearly it's not a setup-ruby issue, probably a Bundler issue.
I think the output even tells you to report it to Bundler, but that part has been cut.
Not a bundler issue, bundler works on multiple Linux and Mac Ruby installations with this source
~/tetherx $ /opt/homebrew/opt/ruby/bin/bundle install --jobs 4
Updating files in vendor/cache
Bundle complete! 154 Gemfile dependencies, 335 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
~/tetherx $ echo $?
0
~/tetherx $ /opt/homebrew/opt/ruby/bin/bundle --version
Bundler version 2.5.20
~/tetherx $ ruby --version
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [arm64-darwin23]
I also tried with several versions of Ruby and Bundler. All work fine outside of the hosted instance and fails when switching to hosted instance. As a temporary solution I'm running on my local machine:
name: "Ruby on Rails CI"
on: [push, pull_request]
jobs:
lint:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- run: echo /opt/homebrew/opt/ruby/bin >> $GITHUB_PATH
- run: bundle install
- run: bundle exec rubocop --parallel
In any case, I created a ticket with RubyGems: https://github.com/rubygems/rubygems/issues/8077
Ensure the following before filing this issue
[X] I verified it reproduces with the latest version with
- uses: ruby/setup-ruby@v1
(see Versioning policy)[X] I tried to reproduce the issue locally by following the workflow steps (including all commands done by
ruby/setup-ruby
, except forDownloading 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
Any other notes?
This is my job in github-actions:
When I run it, it fails with this:
Any ideas?