-
Notifications
You must be signed in to change notification settings - Fork 205
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
testing: test with Ruby 2.6 #390
Comments
@tbpg I think the firestore gem doesn't work with Ruby 2.6 right now. I followed the instructions for the "add-data" how-to guide on the website (https://cloud.google.com/firestore/docs/manage-data/add-data), meaning creating a new directory with a new source 'https://rubygems.org'
gem 'google-cloud-firestore' I made an require "google/cloud/firestore"
GCP_PROJECT_ID = 'REDACTED'
firestore = Google::Cloud::Firestore.new project_id: GCP_PROJECT_ID
puts "Created Cloud Firestore client with project ID #{GCP_PROJECT_ID} ."
doc_ref = firestore.doc "users/alovelace"
doc_ref.set({
first: "Ada",
last: "Lovelace",
born: 1815
})
puts "Added data to the alovelace document in the users collection." I also used But, when I run
I tried cloning this samples repo and grabbing its
I don't have a ton of Ruby experience, so I don't know exactly what's wrong, but to me the stack trace makes it look like there's an issue with how the latest version of the |
Thank you for trying this out, @Welkie. But, this is blocked on googleapis/google-cloud-ruby#2825. Sorry I forgot to update this bug. |
@tbpg Thanks for following up with me. I should have posted back that I found that issue while digging further. I was able to follow its workaround to get it running on 2.6.0 (setting platform to |
Greetings, we're closing this. Looks like the issue got resolved. Please let us know if the issue needs to be reopened. |
No description provided.
The text was updated successfully, but these errors were encountered: