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

Firestore gem does not work with Ruby 3 #8580

Closed
joergd opened this issue Jan 6, 2021 · 5 comments
Closed

Firestore gem does not work with Ruby 3 #8580

joergd opened this issue Jan 6, 2021 · 5 comments
Assignees
Labels
api: firestore Issues related to the Firestore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@joergd
Copy link

joergd commented Jan 6, 2021

Environment details

  • OS: linux
  • Ruby version: 3.0
  • Gem name and version: 2.4.0

Code example

# Get a document reference
nyc_ref = firestore.doc "cities/NYC"

nyc_snap = nyc_ref.get

Full backtrace

ArgumentError (wrong number of arguments (given 1, expected 0))
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jan 7, 2021
@quartzmo quartzmo added api: firestore Issues related to the Firestore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Jan 7, 2021
@yoshi-automation yoshi-automation removed the triage me I really want to be triaged. label Jan 7, 2021
@quartzmo
Copy link
Member

quartzmo commented Jan 7, 2021

@joergd Thanks for this request! Ruby 3 support is on the way, and will address the specific issue you demonstrate here. The google-cloud-ruby gems have a couple of important dependencies that must first be updated to support Ruby 3:

@quartzmo quartzmo self-assigned this Jan 7, 2021
@joergd
Copy link
Author

joergd commented Jan 7, 2021

Awesome thanks quartzmo. I downgraded my Ruby version for now - so no stress :)

@quartzmo
Copy link
Member

quartzmo commented Feb 2, 2021

Update: Both of the PRs that I linked above have been merged, but we're waiting for the next scheduled google-protobuf release, which should be in the next few weeks.

@dazuma
Copy link
Member

dazuma commented Mar 9, 2021

Fixed in the master branch. Will release updated gems shortly.

@dazuma dazuma closed this as completed Mar 9, 2021
@TylerSustare
Copy link

I'm still experiencing this in the google-cloud-firestore gem. Is this gem updated yet? Ruby 2.7 is now unsupported 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the Firestore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

5 participants