-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Build Failure with Ruby 3.x due to google-protobuf Gem Error in GitHub Actions #1429
Comments
same error 😢 ruby 3.3.0 released yesterday |
I modified
change ruby-version: 3 --> ruby-version: 3.2.2 Specify to the 3.2.2 version before ruby was released it works fine |
Thanks, I did as you said and it works again. Will use this workaround before official solutions. |
Thanks for that, I was trying to find a solution for quite a while now. This works fine for now! |
I also had a same issue. Thank you for a solution. :) |
Thank you for a quick solution. I was going to look into it myself, but now don't I have to 👍 |
@puppylpg thanks for fix. I've been battling this issue since yesterday 😭 |
Thanks 👍 |
Updating the ruby-version works. Thanks. |
You can indeed temporarily specify the version of Ruby to be See also: protocolbuffers/protobuf#15198 |
There's an issue with 3.3, see: cotes2020/jekyll-theme-chirpy#1429 protocolbuffers/protobuf#15198
Bug still here nowadays... |
thinks |
Checklist
How did you create the site?
Generated from
chirpy-starter
Describe the bug
When using the pages-deploy.yml GitHub Actions workflow with the default ruby-version: 3, the build process fails during bundle install due to an error related to the installation of the google-protobuf gem.
Steps To Reproduce
I just submitted an article, probably because Ruby 3.3.0 was released
Expected Behavior
The GitHub Actions build should complete successfully without errors during the bundle install process.
Environment
GitHub Actions
Anything else?
The build succeeds when explicitly setting ruby-version: 3.2.2 in the workflow file. This version change seems to resolve the issue with the google-protobuf gem installation.
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true
The text was updated successfully, but these errors were encountered: