You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting RuntimeError (Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials
for more information on digital ocean, Puma, Nginx, Capistrano, Rails.
i've also added env varaiables in .env file.
GCS_BUCKET='photos.foobrstock.com'
GOOGLE_CLOUD_PROJECT="foobrsnaps"
GOOGLE_CLOUD_KEYFILE="Rails.root.join('config/foobrstock-service.json')"
But still getting the same error for few days.
The text was updated successfully, but these errors were encountered:
Do you use the dotenv-rails gem to load ENV variables from your .env file?
For my project, I am using the GOOGLE_APPLICATION_CREDENTIALS ENV variable, containing the path to the JSON file with the credentials for the Service Account I created for the app.
Getting RuntimeError (Could not load the default credentials. Browse to
https://developers.google.com/accounts/docs/application-default-credentials
for more information on digital ocean, Puma, Nginx, Capistrano, Rails.
i've also added env varaiables in .env file.
GCS_BUCKET='photos.foobrstock.com'
GOOGLE_CLOUD_PROJECT="foobrsnaps"
GOOGLE_CLOUD_KEYFILE="Rails.root.join('config/foobrstock-service.json')"
But still getting the same error for few days.
The text was updated successfully, but these errors were encountered: