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

Can't install with Ruby 3.1.1 #247

Closed
feliperaul opened this issue Mar 4, 2022 · 5 comments
Closed

Can't install with Ruby 3.1.1 #247

feliperaul opened this issue Mar 4, 2022 · 5 comments

Comments

@feliperaul
Copy link

I'm getting this message when trying to install with latest ruby 3.1.1 on a Mac:

google-protobuf-3.19.4-x86_64-darwin requires ruby version < 3.1.dev, >= 2.5, which is incompatible with the current version, ruby 3.1.1p18

@olleolleolle
Copy link
Contributor

I guess that gem install google-protobuf also fails on Ruby 3.1.1 - if yes, then we are waiting for google-protobuf to support 3.1.1.

@mobilutz
Copy link

mobilutz commented Apr 29, 2022

@olleolleolle It seems that google-protobuf is Ruby 3.1.x ready: protocolbuffers/protobuf#9566

I am locally testing v3.20.1 of google-protobuf with Ruby 3.1.2.

@olleolleolle
Copy link
Contributor

I was able now to install:

➜  ~ gem i  pg_query

Fetching pg_query-2.1.3.gem
Fetching google-protobuf-3.20.1-x86_64-darwin.gem
Successfully installed google-protobuf-3.20.1-x86_64-darwin
Building native extensions. This could take a while...
Successfully installed pg_query-2.1.3
2 gems installed
➜  ~ ruby -v
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-darwin21]

@feliperaul Can this Issue now be considered closable?

@johnnyshields
Copy link

johnnyshields commented May 13, 2022

Although original report was for Mac, worth noting that Ruby 3.1 is still not working on Windows. This PR should fix it: protocolbuffers/protobuf#9963

@lfittl
Copy link
Member

lfittl commented Jan 3, 2024

Closing this, since 3.1 has been supported for a while now.

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

No branches or pull requests

5 participants