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

Update app.yaml to work with latest ruby #1475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

palladius
Copy link

Note that without this addon, the tutorial is currently broken. See b/365178099

Problem

I'm running this tutorial https://cloud.google.com/ruby/rails/using-cloudsql-postgres and it appears unable to run gcloud app deploy. The rrror is:

╔════════════════════════════════════════════════════════════╗
╠═ Uploading 2777 files to Google Cloud Storage             ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Error(s) encountered validating runtime. Your runtime version for ruby is past End of Support. Please upgrade to the latest runtime version available..
- '@type': [type.googleapis.com/google.rpc.DebugInfo](http://type.googleapis.com/google.rpc.DebugInfo)
  detail: '[ORIGINAL ERROR] generic::invalid_argument: com.google.net.rpc3.RpcException:
    generic::INVALID_ARGUMENT: Error(s) encountered validating runtime. Your runtime
    version for ruby is past End of Support. Please upgrade to the latest runtime
    version available.. [google.rpc.error_details_ext] { code: 3 message: "Error(s)
    encountered validating runtime. Your runtime version for ruby is past End of Support.
    Please upgrade to the latest runtime version available.." }'

By looking at GAE Flex Rubies, looks like 3.2 and 3.3 need Ubuntu22.
So this patch should solve (and its solving in my test).

Description

Fixes #

Note: It's a good idea to open an issue first for discussion.

Checklist

  • Tests pass
  • Lint pass: bundle exec rubocop
  • Please merge this PR for me once it is approved.

Note that without this addon, the tutorial is currently broken. 
See b/365178099
@palladius palladius requested review from a team as code owners September 7, 2024 09:30
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Sep 7, 2024
@palladius
Copy link
Author

note this addresses #1476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant