All Questions
Tagged with google-cloud-platform ruby
102 questions
Score of 4
1 answer
151 views
Does Bootsnap actually improve Rails boot time on Google Cloud Run?
I'm deploying a Rails application to Google Cloud Run and tried to reduce boot time for the app by using bootsnap.
However, bootsnap could not make app booting time faster at all, and I would like to ...
Score of 1
1 answer
464 views
App Engine says "Your runtime version for ruby33 is past End of Support", but it isn't
As written in google documentation here and here
I use the latest runtime of Ruby available in app engine.
Runtime
Environment
Runtime ID
End of support
Deprecated
Decommission
Ruby 3.3
Ubuntu 22.04
...
Score of 0
1 answer
91 views
Can't connect to Google Cloud Bucket in heroku production environment but I can locally
I have a rails app that has a google cloud bucket I am accessing from a rake task. The rake task works fine locally but when I run the task in production on heroku it fails with this error
/app/vendor/...
Score of 0
1 answer
66 views
Permission issues deleting files with Google Drive API in ruby
I have a Google Apps Script that creates json files from spreadsheet tabs:
function makeJSON() {
var spreadsheetId = 'someId';
var spreadsheet = SpreadsheetApp.openById(spreadsheetId);
var ...
Score of 0
0 answers
80 views
GCP - Cannot auth with google platform in ruby with service account attached to instance
We have Instance 1 from Project A trying to reach Cloud Function v1 API from Project B, using a service account (lives on Project A) assigned to the instance, via ruby code.
Instance 1 has the service ...
Score of 1
0 answers
110 views
How to check asynchronously Google speech API output stream transcriptions in Ruby?
I am trying to create a Ruby on Rails application that will use a microphone and web sockets to generate real-time speech to text transcription using Google Speech service.
I have successfully sent an ...
Score of 1
0 answers
63 views
Ruby on rails - custom session using firestore
Implemented a custom session store using firestore.
One weird behavior I notice was when calling reset_session on logout, the whole session collection wiped-out.
Here is my custom session store:
...
Score of 0
0 answers
122 views
How to use Google API Sheets without OOB URI?
My app is a ruby on rails one.
I developed in 2018 one which used OAuth 2.0 authentication with an OOB_URI. But this technique doesn't work anymore and the Google sheets API documentation had changed.
...
Score of 0
1 answer
116 views
Google ReCaptcha Request Details
Is it possible to get the details of ReCaptcha request in my Google Admin Console or is there any other way?
I am expecting it is possible to see the details of every reCaptcha requests or it is not ...
Score of 1
0 answers
65 views
Intermittent connection failures when querying Elasticsearch
We have a Rails API that queries Elasticsearch via the elasticsearch-rails gem. At around 10:30 yesterday morning, we started getting a bunch of Faraday::ConnectionFailed errors. They don't happen ...
Score of 0
1 answer
109 views
How do I set the proxy-url for gcp cluster in shell?
I am trying to run this command in a shell file via a ruby project in gitlab pipeline.
kubectl config set clusters."$Cluster_config".insecure-skip-tls-verify true
kubectl config set clusters....
Score of 0
1 answer
877 views
Ruby require - cannot load such file -- google/api_client
I'm trying to write a ruby script to upload youtube videos, but I can't get past this line:
require 'google/api_client'
I get this error:
`require': cannot load such file -- google/api_client (...
Score of 0
1 answer
171 views
Net::HTTP::Post fails while calling spaces url with argument error
I have this code to send notifications to google spaces from my Rails code. The notifications are going out but one of the lines gives error. I tried with different ways of calling it but strange it ...
Score of 0
0 answers
66 views
Error while importing into SQL instance using .sql file
def import_sql()
#
# Authtication completed
# Authenticated obj = sqladmin
#
sql_import=Google::Apis::SqladminV1beta4::ImportContext.new
sql_import....
Score of 0
1 answer
1339 views
How to set and view environment variables Google App Engine
In my app.yaml I have set some env_variables:
env: standard
runtime: ruby27
env_variables:
RAILS_ENV: 'production'
RAILS_SERVE_STATIC_FILES: true
In my build details, I see some environment ...