-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
require 'google/protobuf' fails on ruby gem version 3.4.0 x86_64-linux #3509
Comments
I 'gem yanked' 3.4.0 for now, and will investigate later. Sorry for the breakage. |
Are we able to also yank all platform-specific versions of the 3.4.0 gem? I'm seeing platform-specific 3.4 gems getting pulled down still. (e.g., on rubygems all of these gems are still present:
) |
Yanked them all. |
Is this a file permissions issue like we've seen in other gems? |
pushed 3.4.0.1 gems for linux/windows. Could you please test if it works this time? |
I've got green builds on darwin and linux using 3.4.0.1. No LoadError's. |
It looks like I screwed up again on the darwin native one. Would have yank and upload 3.4.0.2 again. |
Confirmed, google-protobuf-3.4.0.1-universal-darwin.gem raises |
3.4.0.2 should fix the issues now. Feel free to open it if there are still issues. |
I am getting this issue with google-protobuf 3.6.1. Testing started at 3:41 PM ... Process finished with exit code 1 |
The gem google-protobuf 3.6.1 doesn't have a pre-compiled file for Ruby 2.6. You should either use the 3.7.0.rc.2 gem, or install the gem with |
Wrong reading. Seems 3.7.0.rc.2 is fine for ruby 2.6. |
Same error with: |
can we reopen issue @TeBoring ? |
@OpakAlex can you open a new issue with all the relevant details? The error might be the same, but the cause could be different. The more information you can provide, including a minimal reproduction, the better. |
@blowmage thanks for your answer. issue which i have after
@blowmage any chance to look into this? |
I don't know what the underlying issue is, but downgrading to google-protobuf version 3.9 may work for you. Whatever is causing this seems to have been introduced in 3.10.1. But again, this issue is already closed. Whatever is the cause for this is different than this issue. Please open a new issue, linking to this issue, with all of your relevant details, so that the folks who work on this gem can have the information they need to fix it. Here is what I've found running on Alpine using the same docker image. All gems seem to install just fine, but version 3.9.2 runs, while 3.10.1 raises.
It does seem probable that 3.10.1 introduced usage of |
3.9 works. Thanks! |
…uby/docker/alpine It now builds and runs without any issues with the google/protobuf gem. See also, protocolbuffers/protobuf#4460, protocolbuffers/protobuf#3509.
Latest version of the ruby gem cannot be required in code, at least the linux version. Here is the error message:
The above can be reproduced on the official Ruby
ruby:2.4.1
Docker image, with just thegoogle-protobuf
gem installed.Note that this is a breaking change for all gems which depend on
google-protobof
, including the latest stablegrpc
gem.The text was updated successfully, but these errors were encountered: